Trait Scheduler

Source
pub trait Scheduler {
    type GangHandle;

    // Required method
    fn schedule_gang<'life0, 'async_trait>(
        &'life0 self,
        size: u64,
    ) -> Pin<Box<dyn Future<Output = Result<Self::GangHandle, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

TODO: add missing doc

Required Associated Types§

Source

type GangHandle

TODO: add missing doc

Required Methods§

Source

fn schedule_gang<'life0, 'async_trait>( &'life0 self, size: u64, ) -> Pin<Box<dyn Future<Output = Result<Self::GangHandle, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

TODO: add missing doc

Implementors§