Struct chrono::OutOfRange
source · [−]pub struct OutOfRange { /* private fields */ }
Expand description
Out of range error type used in various converting APIs
Trait Implementations
sourceimpl Clone for OutOfRange
impl Clone for OutOfRange
sourcefn clone(&self) -> OutOfRange
fn clone(&self) -> OutOfRange
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutOfRange
impl Debug for OutOfRange
sourceimpl Display for OutOfRange
impl Display for OutOfRange
sourceimpl Error for OutOfRange
impl Error for OutOfRange
1.30.0fn 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.0fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl Hash for OutOfRange
impl Hash for OutOfRange
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl PartialEq<OutOfRange> for OutOfRange
impl PartialEq<OutOfRange> for OutOfRange
sourcefn eq(&self, other: &OutOfRange) -> bool
fn eq(&self, other: &OutOfRange) -> bool
impl Copy for OutOfRange
impl Eq for OutOfRange
impl StructuralEq for OutOfRange
impl StructuralPartialEq for OutOfRange
Auto Trait Implementations
impl RefUnwindSafe for OutOfRange
impl Send for OutOfRange
impl Sync for OutOfRange
impl Unpin for OutOfRange
impl UnwindSafe for OutOfRange
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more