pub struct Underflow;
Expand description
Error raised when the result of a checked arithmetic operation is too low to be represented by the destination type.
Trait Implementations§
Source§impl Error for Underflow
impl Error for Underflow
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
impl Copy for Underflow
impl Eq for Underflow
impl StructuralPartialEq for Underflow
Auto Trait Implementations§
impl Freeze for Underflow
impl RefUnwindSafe for Underflow
impl Send for Underflow
impl Sync for Underflow
impl Unpin for Underflow
impl UnwindSafe for Underflow
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