Spawn

Trait Spawn 

Source
pub trait Spawn {
    type Result;

    // Required method
    fn spawn(self) -> Self::Result;
}

Required Associated Types§

Required Methods§

Source

fn spawn(self) -> Self::Result

Implementors§

Source§

impl<Fut: Future + Sized + Send + 'static> Spawn for Fut
where Fut::Output: Send + 'static,