Struct hybrid_clocks::ManualClock [] [src]

pub struct ManualClock(_);

Methods

impl ManualClock
[src]

fn new(t: u64) -> ManualClock

fn set_time(&self, t: u64)

Trait Implementations

impl<'a> ClockSource for ManualClock
[src]

type Time = u64

Represents the described clock time.

type Delta = u64

The difference between two timestamps.

fn now(&mut self) -> Self::Time

Returns the current clock time.