pub struct TzOutOfRangeError { /* private fields */ }
Expand description
Error that indicates that a provided value is outside the allowed range of values. Generally seen when constructing an offset that is greater than the allowed range.
This error is returned by Offset::try_from
.
Trait Implementations§
Source§impl Clone for TzOutOfRangeError
impl Clone for TzOutOfRangeError
Source§fn clone(&self) -> TzOutOfRangeError
fn clone(&self) -> TzOutOfRangeError
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 TzOutOfRangeError
impl Debug for TzOutOfRangeError
Source§impl Display for TzOutOfRangeError
impl Display for TzOutOfRangeError
Source§impl Error for TzOutOfRangeError
impl Error for TzOutOfRangeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<TryFromFloatSecsError> for TzOutOfRangeError
impl From<TryFromFloatSecsError> for TzOutOfRangeError
Source§fn from(_err: TryFromFloatSecsError) -> Self
fn from(_err: TryFromFloatSecsError) -> Self
Converts to this type from the input type.
Source§impl From<TzOutOfRangeError> for TimeError
impl From<TzOutOfRangeError> for TimeError
Source§fn from(err: TzOutOfRangeError) -> Self
fn from(err: TzOutOfRangeError) -> Self
Converts to this type from the input type.
Source§impl Hash for TzOutOfRangeError
impl Hash for TzOutOfRangeError
Source§impl Ord for TzOutOfRangeError
impl Ord for TzOutOfRangeError
Source§fn cmp(&self, other: &TzOutOfRangeError) -> Ordering
fn cmp(&self, other: &TzOutOfRangeError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TzOutOfRangeError
impl PartialEq for TzOutOfRangeError
Source§impl PartialOrd for TzOutOfRangeError
impl PartialOrd for TzOutOfRangeError
impl Copy for TzOutOfRangeError
impl Eq for TzOutOfRangeError
impl StructuralPartialEq for TzOutOfRangeError
Auto Trait Implementations§
impl Freeze for TzOutOfRangeError
impl RefUnwindSafe for TzOutOfRangeError
impl Send for TzOutOfRangeError
impl Sync for TzOutOfRangeError
impl Unpin for TzOutOfRangeError
impl UnwindSafe for TzOutOfRangeError
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