pub trait Start<Runnable> {
// Required methods
fn spawn(
&mut self,
runnable: Runnable,
link: bool,
) -> impl Future<Output = Result<Address, ErrorOf<SpawnErrorKind>>> + Send;
fn start(
&mut self,
runnable: Runnable,
link: bool,
start_timeout: Duration,
) -> impl Future<Output = Result<Address, ErrorOf<StartErrorKind>>> + Send;
}Required Methods§
fn spawn( &mut self, runnable: Runnable, link: bool, ) -> impl Future<Output = Result<Address, ErrorOf<SpawnErrorKind>>> + Send
fn start( &mut self, runnable: 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.