pub struct IntOverflow;
Expand description
Error which occurs when an operation causes integer overflow.
Trait Implementations§
Source§impl Clone for IntOverflow
impl Clone for IntOverflow
Source§fn clone(&self) -> IntOverflow
fn clone(&self) -> IntOverflow
Returns a duplicate 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 IntOverflow
impl Debug for IntOverflow
Source§impl Display for IntOverflow
impl Display for IntOverflow
Source§impl Error for IntOverflow
impl Error for IntOverflow
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl PartialEq for IntOverflow
impl PartialEq for IntOverflow
impl Copy for IntOverflow
impl Eq for IntOverflow
impl StructuralPartialEq for IntOverflow
Auto Trait Implementations§
impl Freeze for IntOverflow
impl RefUnwindSafe for IntOverflow
impl Send for IntOverflow
impl Sync for IntOverflow
impl Unpin for IntOverflow
impl UnwindSafe for IntOverflow
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