[][src]Trait rosrust::Clock

pub trait Clock: Send + Sync {
    fn now(&self) -> Time;
fn sleep(&self, d: Duration);
fn wait_until(&self, t: Time); fn await_init(&self) { ... } }

Required methods

fn now(&self) -> Time

fn sleep(&self, d: Duration)

fn wait_until(&self, t: Time)

Loading content...

Provided methods

fn await_init(&self)

Loading content...

Implementors

Loading content...