Skip to main content

SpawnExt1

Trait SpawnExt1 

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

Required Methods§

Source

fn spawn<'a>(&mut self, a: T1) -> 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§

Source§

impl<'f> SpawnExt1<&'f OsStr> for Diff2<DepotContent<BranchMode>>

Source§

impl<'f> SpawnExt1<&'f OsStr> for Diff2<DepotContent<StreamMode>>

Source§

impl<T, T1> SpawnExt1<T1> for T
where T: for<'a> ParameterizedSpawn<Input<'a> = T1>,