Trait SpawnWithId

Source
pub trait SpawnWithId {
    // Required method
    fn spawn_obj_with_id(
        &self,
        future: FutureObj<'static, ()>,
    ) -> Result<usize, SpawnError>;
}

Required Methods§

Source

fn spawn_obj_with_id( &self, future: FutureObj<'static, ()>, ) -> Result<usize, SpawnError>

Implementors§