Trait Call

Source
pub trait Call<To, Msg>: Send
where To: Send, Msg: Send,
{ type Outcome: Send; // Required method fn call( &mut self, to: To, msg: Msg, ) -> impl Future<Output = Self::Outcome> + Send; }

Required Associated Types§

Required Methods§

Source

fn call( &mut self, to: To, msg: Msg, ) -> impl Future<Output = Self::Outcome> + Send

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.

Implementors§