Enum cosmwasm_std::DivisionError
source · pub enum DivisionError {
DivideByZero,
Overflow,
}
Variants§
Trait Implementations§
source§impl Debug for DivisionError
impl Debug for DivisionError
source§impl Display for DivisionError
impl Display for DivisionError
source§impl Error for DivisionError
impl Error for DivisionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq for DivisionError
impl PartialEq for DivisionError
source§fn eq(&self, other: &DivisionError) -> bool
fn eq(&self, other: &DivisionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DivisionError
impl StructuralPartialEq for DivisionError
Auto Trait Implementations§
impl Freeze for DivisionError
impl RefUnwindSafe for DivisionError
impl Send for DivisionError
impl Sync for DivisionError
impl Unpin for DivisionError
impl UnwindSafe for DivisionError
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