[][src]Struct hybrid_clocks::ManualClock

pub struct ManualClock(_);

Methods

impl ManualClock[src]

pub fn new(t: u64) -> ManualClock[src]

pub fn set_time(&self, t: u64)[src]

Trait Implementations

impl<'a> ClockSource for ManualClock[src]

type Time = u64

Represents the described clock time.

type Delta = u64

The difference between two timestamps.

Auto Trait Implementations

impl Send for ManualClock

impl !Sync for ManualClock

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]