[][src]Trait nursery::Schedulable

pub trait Schedulable {
    fn start(&mut self) -> Box<dyn Waitable>;
}

The trait that as of yet not started concurrent operations must implement.

Required methods

fn start(&mut self) -> Box<dyn Waitable>

Start should panic if called twice.

Loading content...

Implementors

impl<F> Schedulable for Pending<F> where
    F: FnOnce(),
    F: Send + 'static, 
[src]

Loading content...