[−][src]Struct time::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 Eq for OutOfRangeError
[src]
impl Clone for OutOfRangeError
[src]
fn clone(&self) -> OutOfRangeError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<OutOfRangeError> for OutOfRangeError
[src]
fn eq(&self, other: &OutOfRangeError) -> bool
[src]
fn ne(&self, other: &OutOfRangeError) -> bool
[src]
impl Copy for OutOfRangeError
[src]
impl Debug for OutOfRangeError
[src]
impl Display for OutOfRangeError
[src]
impl Error for OutOfRangeError
[src]
Auto Trait Implementations
impl Send for OutOfRangeError
impl Unpin for OutOfRangeError
impl Sync for OutOfRangeError
impl UnwindSafe for OutOfRangeError
impl RefUnwindSafe for OutOfRangeError
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,