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§
Sourcetype GangHandle
type GangHandle
TODO: add missing doc
Required Methods§
Sourcefn 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,
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