Enum reputation_module::icrc_7::errors::TransferError
source · pub enum TransferError {
NonExistingTokenId,
InvalidRecipient,
Unauthorized,
TooOld,
CreatedInFuture {
ledger_time: u64,
},
Duplicate {
duplicate_of: u128,
},
GenericError {
error_code: u128,
message: String,
},
GenericBatchError {
error_code: u128,
message: String,
},
}
Variants§
NonExistingTokenId
InvalidRecipient
TooOld
CreatedInFuture
Duplicate
GenericError
GenericBatchError
Trait Implementations§
source§impl CandidType for TransferError
impl CandidType for TransferError
source§impl Clone for TransferError
impl Clone for TransferError
source§fn clone(&self) -> TransferError
fn clone(&self) -> TransferError
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 TransferError
impl Debug for TransferError
source§impl<'de> Deserialize<'de> for TransferError
impl<'de> Deserialize<'de> for TransferError
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
Auto Trait Implementations§
impl RefUnwindSafe for TransferError
impl Send for TransferError
impl Sync for TransferError
impl Unpin for TransferError
impl UnwindSafe for TransferError
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