Struct cosmwasm_std::DivideByZeroError
source · [−]pub struct DivideByZeroError {
pub operand: String,
}
Fields
operand: String
Implementations
Trait Implementations
sourceimpl Debug for DivideByZeroError
impl Debug for DivideByZeroError
sourceimpl Display for DivideByZeroError
impl Display for DivideByZeroError
sourceimpl Error for DivideByZeroError
impl Error for DivideByZeroError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DivideByZeroError> for StdError
impl From<DivideByZeroError> for StdError
sourcefn from(source: DivideByZeroError) -> Self
fn from(source: DivideByZeroError) -> Self
Performs the conversion.
sourceimpl PartialEq<DivideByZeroError> for DivideByZeroError
impl PartialEq<DivideByZeroError> for DivideByZeroError
sourcefn eq(&self, other: &DivideByZeroError) -> bool
fn eq(&self, other: &DivideByZeroError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DivideByZeroError) -> bool
fn ne(&self, other: &DivideByZeroError) -> bool
This method tests for !=
.
impl Eq for DivideByZeroError
impl StructuralEq for DivideByZeroError
impl StructuralPartialEq for DivideByZeroError
Auto Trait Implementations
impl RefUnwindSafe for DivideByZeroError
impl Send for DivideByZeroError
impl Sync for DivideByZeroError
impl Unpin for DivideByZeroError
impl UnwindSafe for DivideByZeroError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more