Trait calloop::sources::IdleDispatcher

source ·
pub(crate) trait IdleDispatcher<Data> {
    // Required method
    fn dispatch(&mut self, data: &mut Data);
}

Required Methods§

source

fn dispatch(&mut self, data: &mut Data)

Implementations on Foreign Types§

source§

impl<Data, F> IdleDispatcher<Data> for Option<F>
where F: FnMut(&mut Data),

source§

fn dispatch(&mut self, data: &mut Data)

Implementors§