Struct async_speed_limit::clock::Nanoseconds[][src]

pub struct Nanoseconds(pub u64);

Number of nanoseconds since an arbitrary epoch.

This is the instant type of ManualClock.

Trait Implementations

impl Add<Duration> for Nanoseconds[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Nanoseconds[src]

impl Copy for Nanoseconds[src]

impl Debug for Nanoseconds[src]

impl Eq for Nanoseconds[src]

impl Hash for Nanoseconds[src]

impl Ord for Nanoseconds[src]

impl PartialEq<Nanoseconds> for Nanoseconds[src]

impl PartialOrd<Nanoseconds> for Nanoseconds[src]

impl StructuralEq for Nanoseconds[src]

impl StructuralPartialEq for Nanoseconds[src]

impl Sub<Nanoseconds> for Nanoseconds[src]

type Output = Duration

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Nanoseconds

impl Send for Nanoseconds

impl Sync for Nanoseconds

impl Unpin for Nanoseconds

impl UnwindSafe for Nanoseconds

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.