[][src]Struct time::OutOfRangeError

pub struct OutOfRangeError(_);

Represents error when converting Duration to/from a standard library implementation

The std::time::Duration supports a range from zero to u64::MAX seconds, while this module supports signed range of up to i64::MAX of milliseconds.

Trait Implementations

impl Clone for OutOfRangeError[src]

impl Copy for OutOfRangeError[src]

impl Debug for OutOfRangeError[src]

impl Display for OutOfRangeError[src]

impl Eq for OutOfRangeError[src]

impl Error for OutOfRangeError[src]

impl PartialEq<OutOfRangeError> for OutOfRangeError[src]

impl StructuralEq for OutOfRangeError[src]

impl StructuralPartialEq for OutOfRangeError[src]

Auto Trait Implementations

impl RefUnwindSafe for OutOfRangeError

impl Send for OutOfRangeError

impl Sync for OutOfRangeError

impl Unpin for OutOfRangeError

impl UnwindSafe for OutOfRangeError

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.