Struct time::OutOfRangeError [−][src]
pub struct OutOfRangeError(_);
Expand description
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more