pub struct IntOverflowError { /* private fields */ }
Expand description
Error that indicates a given operation has resulted in an integer overflow.
Trait Implementations§
Source§impl Clone for IntOverflowError
impl Clone for IntOverflowError
Source§fn clone(&self) -> IntOverflowError
fn clone(&self) -> IntOverflowError
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 IntOverflowError
impl Debug for IntOverflowError
Source§impl Display for IntOverflowError
impl Display for IntOverflowError
Source§impl Error for IntOverflowError
impl Error for IntOverflowError
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<IntOverflowError> for TimeError
impl From<IntOverflowError> for TimeError
Source§fn from(err: IntOverflowError) -> Self
fn from(err: IntOverflowError) -> Self
Converts to this type from the input type.
Source§impl Hash for IntOverflowError
impl Hash for IntOverflowError
Source§impl Ord for IntOverflowError
impl Ord for IntOverflowError
Source§fn cmp(&self, other: &IntOverflowError) -> Ordering
fn cmp(&self, other: &IntOverflowError) -> 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 IntOverflowError
impl PartialEq for IntOverflowError
Source§impl PartialOrd for IntOverflowError
impl PartialOrd for IntOverflowError
impl Copy for IntOverflowError
impl Eq for IntOverflowError
impl StructuralPartialEq for IntOverflowError
Auto Trait Implementations§
impl Freeze for IntOverflowError
impl RefUnwindSafe for IntOverflowError
impl Send for IntOverflowError
impl Sync for IntOverflowError
impl Unpin for IntOverflowError
impl UnwindSafe for IntOverflowError
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