Trait rustrt::rtio::RtioTimer[src]

pub trait RtioTimer {
    fn sleep(&mut self, msecs: u64);
    fn oneshot(&mut self, msecs: u64, cb: Box<Callback + Send>);
    fn period(&mut self, msecs: u64, cb: Box<Callback + Send>);
}

Required Methods

fn sleep(&mut self, msecs: u64)

fn oneshot(&mut self, msecs: u64, cb: Box<Callback + Send>)

fn period(&mut self, msecs: u64, cb: Box<Callback + Send>)

Implementors