Struct chrono::OutOfRange
source · pub struct OutOfRange { /* private fields */ }
Expand description
Out of range error type used in various converting APIs
Trait Implementations§
source§impl Clone for OutOfRange
impl Clone for OutOfRange
source§fn clone(&self) -> OutOfRange
fn clone(&self) -> OutOfRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutOfRange
impl Debug for OutOfRange
source§impl Display for OutOfRange
impl Display for OutOfRange
source§impl Error for OutOfRange
impl Error for OutOfRange
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Hash for OutOfRange
impl Hash for OutOfRange
source§impl PartialEq for OutOfRange
impl PartialEq for OutOfRange
source§fn eq(&self, other: &OutOfRange) -> bool
fn eq(&self, other: &OutOfRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutOfRange
impl Eq for OutOfRange
impl StructuralPartialEq for OutOfRange
Auto Trait Implementations§
impl Freeze for OutOfRange
impl RefUnwindSafe for OutOfRange
impl Send for OutOfRange
impl Sync for OutOfRange
impl Unpin for OutOfRange
impl UnwindSafe for OutOfRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more