Skip to main content

SpawnExt

Trait SpawnExt 

Source
pub trait SpawnExt: ParameterizedSpawn {
    // Required method
    fn spawn<'a>(&mut self) -> Result<Self::Output<'a>, Self::Error>;
}

Required Methods§

Source

fn spawn<'a>(&mut self) -> Result<Self::Output<'a>, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§