pub struct DivByZero;
Expand description
Division could not be performed due to division by zero.
Trait Implementations§
Source§impl Fail for DivByZero
impl Fail for DivByZero
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<DivByZero> for DivWarning
impl From<DivByZero> for DivWarning
Source§fn from(_: DivByZero) -> DivWarning
fn from(_: DivByZero) -> DivWarning
Converts to this type from the input type.
impl Copy for DivByZero
impl Eq for DivByZero
impl StructuralPartialEq for DivByZero
Auto Trait Implementations§
impl Freeze for DivByZero
impl RefUnwindSafe for DivByZero
impl Send for DivByZero
impl Sync for DivByZero
impl Unpin for DivByZero
impl UnwindSafe for DivByZero
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