Enum b3_helper_lib::ICRCAccountError
source · pub enum ICRCAccountError {
InvalidFormat,
BadChecksum,
NotCanonical,
HexDecode(String),
Malformed(String),
InvalidPrincipal(String),
InvalidSubaccount(String),
}
Variants§
InvalidFormat
BadChecksum
NotCanonical
HexDecode(String)
Malformed(String)
InvalidPrincipal(String)
InvalidSubaccount(String)
Trait Implementations§
source§impl CandidType for ICRCAccountError
impl CandidType for ICRCAccountError
source§impl Clone for ICRCAccountError
impl Clone for ICRCAccountError
source§fn clone(&self) -> ICRCAccountError
fn clone(&self) -> ICRCAccountError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ICRCAccountError
impl Debug for ICRCAccountError
source§impl<'de> Deserialize<'de> for ICRCAccountError
impl<'de> Deserialize<'de> for ICRCAccountError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ICRCAccountError
impl Display for ICRCAccountError
source§impl PartialEq<ICRCAccountError> for ICRCAccountError
impl PartialEq<ICRCAccountError> for ICRCAccountError
source§fn eq(&self, other: &ICRCAccountError) -> bool
fn eq(&self, other: &ICRCAccountError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ICRCAccountError
Auto Trait Implementations§
impl RefUnwindSafe for ICRCAccountError
impl Send for ICRCAccountError
impl Sync for ICRCAccountError
impl Unpin for ICRCAccountError
impl UnwindSafe for ICRCAccountError
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