Trait std::rt::rtio::RtioTimer[src]

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

Required Methods

fn sleep(&mut self, msecs: u64)

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

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

Implementors