pub trait Start<Sys>:
Tell
+ Recv
+ Fork
+ Call<Sys, SpawnRequest<Sys>, Outcome = SpawnResponse>
+ Call<Sys, Kill, Outcome = bool>
+ Call<Sys, Link, Outcome = ()>where
Sys: System,{
// Provided methods
fn spawn(
&mut self,
runnable: Sys::Runnable,
link: bool,
) -> impl Future<Output = SpawnResponse> + Send { ... }
fn start(
&mut self,
runnable: Sys::Runnable,
link: bool,
start_timeout: Duration,
) -> impl Future<Output = Result<Address, ErrorOf<StartErrorKind>>> + Send { ... }
}Provided Methods§
fn spawn( &mut self, runnable: Sys::Runnable, link: bool, ) -> impl Future<Output = SpawnResponse> + Send
fn start( &mut self, runnable: Sys::Runnable, link: bool, start_timeout: Duration, ) -> impl Future<Output = Result<Address, ErrorOf<StartErrorKind>>> + 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.