pub struct SyncScheduler<'x> { /* private fields */ }Expand description
The runtime scheduler.
Lifetime parameters: ’x and ’t are carried around everywhere, ’x allows us to take references into the dataflow graph, and ’t to spawn new scoped threads for physical actions. ’a is more useless but is needed to compile.
Implementations§
Source§impl<'x> SyncScheduler<'x>
impl<'x> SyncScheduler<'x>
pub fn run_main<R: ReactorInitializer + 'static>( options: SchedulerOptions, args: R::Params, )
Auto Trait Implementations§
impl<'x> Freeze for SyncScheduler<'x>
impl<'x> !RefUnwindSafe for SyncScheduler<'x>
impl<'x> !Send for SyncScheduler<'x>
impl<'x> !Sync for SyncScheduler<'x>
impl<'x> Unpin for SyncScheduler<'x>
impl<'x> !UnwindSafe for SyncScheduler<'x>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more