pub enum Icrc21Error {
UnsupportedCanisterCall(ErrorInfo),
ConsentMessageUnavailable(ErrorInfo),
InsufficientPayment(ErrorInfo),
GenericError {
error_code: Nat,
description: String,
},
}Variants§
Trait Implementations§
Source§impl CandidType for Icrc21Error
impl CandidType for Icrc21Error
Source§impl Clone for Icrc21Error
impl Clone for Icrc21Error
Source§fn clone(&self) -> Icrc21Error
fn clone(&self) -> Icrc21Error
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Icrc21Error
impl Debug for Icrc21Error
Source§impl<'de> Deserialize<'de> for Icrc21Error
impl<'de> Deserialize<'de> for Icrc21Error
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
impl Eq for Icrc21Error
Source§impl PartialEq for Icrc21Error
impl PartialEq for Icrc21Error
Source§impl Serialize for Icrc21Error
impl Serialize for Icrc21Error
impl StructuralPartialEq for Icrc21Error
Auto Trait Implementations§
impl Freeze for Icrc21Error
impl RefUnwindSafe for Icrc21Error
impl Send for Icrc21Error
impl Sync for Icrc21Error
impl Unpin for Icrc21Error
impl UnsafeUnpin for Icrc21Error
impl UnwindSafe for Icrc21Error
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