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 Eq for OutOfRangeError
[src]

impl PartialEq for OutOfRangeError
[src]

fn eq(&self, __arg_0: &OutOfRangeError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &OutOfRangeError) -> bool

This method tests for !=.

impl Copy for OutOfRangeError
[src]

impl Clone for OutOfRangeError
[src]

fn clone(&self) -> OutOfRangeError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for OutOfRangeError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for OutOfRangeError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for OutOfRangeError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more