Struct asyncplify::schedulers::EventLoop [] [src]

pub struct EventLoop {
    // some fields omitted
}

Methods

impl EventLoop

fn new() -> Self

Creates a new EventLoop

Trait Implementations

impl ParallelScheduler for EventLoop

fn schedule<F>(&self, func: F, delay: Duration) where F: FnOnce() + Send + 'static

Derived Implementations

impl Clone for EventLoop

fn clone(&self) -> EventLoop

1.0.0fn clone_from(&mut self, source: &Self)