Enum cosmwasm_std::CoinFromStrError
source · pub enum CoinFromStrError {
MissingDenom,
MissingAmount,
InvalidAmount(ParseIntError),
}
Variants§
Trait Implementations§
source§impl Debug for CoinFromStrError
impl Debug for CoinFromStrError
source§impl Display for CoinFromStrError
impl Display for CoinFromStrError
source§impl Error for CoinFromStrError
impl Error for CoinFromStrError
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 From<CoinFromStrError> for StdError
impl From<CoinFromStrError> for StdError
source§fn from(value: CoinFromStrError) -> Self
fn from(value: CoinFromStrError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for CoinFromStrError
impl From<ParseIntError> for CoinFromStrError
source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq for CoinFromStrError
impl PartialEq for CoinFromStrError
source§fn eq(&self, other: &CoinFromStrError) -> bool
fn eq(&self, other: &CoinFromStrError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoinFromStrError
impl StructuralPartialEq for CoinFromStrError
Auto Trait Implementations§
impl Freeze for CoinFromStrError
impl RefUnwindSafe for CoinFromStrError
impl Send for CoinFromStrError
impl Sync for CoinFromStrError
impl Unpin for CoinFromStrError
impl UnwindSafe for CoinFromStrError
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