pub trait Activation: Action {
// Required method
async fn send<S: AsRef<[u8]>>(
self,
code_id: CodeId,
salt: S,
) -> Result<impl Reply<Output = ActorId>>;
// Provided method
async fn send_recv<S: AsRef<[u8]>>(
self,
code_id: CodeId,
salt: S,
) -> Result<ActorId>
where Self: Sized { ... }
}Required Methods§
async fn send<S: AsRef<[u8]>>( self, code_id: CodeId, salt: S, ) -> Result<impl Reply<Output = ActorId>>
Provided Methods§
async fn send_recv<S: AsRef<[u8]>>(
self,
code_id: CodeId,
salt: S,
) -> Result<ActorId>where
Self: Sized,
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.