Struct time::OutOfRangeError [−][src]
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 Debug for OutOfRangeError[src]
impl Debug for OutOfRangeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for OutOfRangeError[src]
impl Clone for OutOfRangeErrorfn clone(&self) -> OutOfRangeError[src]
fn clone(&self) -> OutOfRangeErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for OutOfRangeError[src]
impl Copy for OutOfRangeErrorimpl PartialEq for OutOfRangeError[src]
impl PartialEq for OutOfRangeErrorfn eq(&self, other: &OutOfRangeError) -> bool[src]
fn eq(&self, other: &OutOfRangeError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &OutOfRangeError) -> bool[src]
fn ne(&self, other: &OutOfRangeError) -> boolThis method tests for !=.
impl Eq for OutOfRangeError[src]
impl Eq for OutOfRangeErrorimpl Display for OutOfRangeError[src]
impl Display for OutOfRangeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for OutOfRangeError[src]
impl Error for OutOfRangeErrorAuto Trait Implementations
impl Send for OutOfRangeError
impl Send for OutOfRangeErrorimpl Sync for OutOfRangeError
impl Sync for OutOfRangeError