pub trait ControllerMessageClient: Send + Sync {
// Required methods
fn attach<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
client_actor: ActorRef<ClientActor>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn node<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
defs: Vec<Ref>,
uses: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn drop_refs<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
refs: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
ranks: Ranks,
message: Serialized,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn remote_function_failed<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
error: WorkerError,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
worker_actor_id: ActorId,
controller: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn fetch_result<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
value: Result<Serialized, WorkerError>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_first_incomplete_seqs_unit_tests_only<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
) -> Pin<Box<dyn Future<Output = Result<Vec<Seq>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn check_supervision<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn debugger_message<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
debugger_actor_id: ActorId,
action: DebuggerAction,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
The custom client trait for this message type.
Required Methods§
Sourcefn attach<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
client_actor: ActorRef<ClientActor>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn attach<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
client_actor: ActorRef<ClientActor>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn node<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
defs: Vec<Ref>,
uses: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn node<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
defs: Vec<Ref>,
uses: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn drop_refs<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
refs: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn drop_refs<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
refs: Vec<Ref>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn send<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
ranks: Ranks,
message: Serialized,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
ranks: Ranks,
message: Serialized,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn remote_function_failed<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
error: WorkerError,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remote_function_failed<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
error: WorkerError,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn status<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
worker_actor_id: ActorId,
controller: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn status<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
worker_actor_id: ActorId,
controller: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn fetch_result<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
value: Result<Serialized, WorkerError>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_result<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
seq: Seq,
value: Result<Serialized, WorkerError>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn get_first_incomplete_seqs_unit_tests_only<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
) -> Pin<Box<dyn Future<Output = Result<Vec<Seq>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_first_incomplete_seqs_unit_tests_only<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend + CanOpenPort),
) -> Pin<Box<dyn Future<Output = Result<Vec<Seq>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn check_supervision<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn check_supervision<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Sourcefn debugger_message<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
debugger_actor_id: ActorId,
action: DebuggerAction,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn debugger_message<'life0, 'life1, 'async_trait>(
&'life0 self,
caps: &'life1 (impl 'async_trait + CanSend),
debugger_actor_id: ActorId,
action: DebuggerAction,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
The generated client method for this enum variant.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.