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 Display for OutOfRangeError

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

impl Error for OutOfRangeError

fn description(&self) -> &str

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

Derived Implementations

impl Eq for OutOfRangeError

impl PartialEq for OutOfRangeError

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

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

impl Copy for OutOfRangeError

impl Clone for OutOfRangeError

fn clone(&self) -> OutOfRangeError

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

impl Debug for OutOfRangeError

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