pub enum NotifyError {
Refunded {
block_index: Option<BlockIndex>,
reason: String,
},
InvalidTransaction(String),
Other {
error_message: String,
error_code: u64,
},
Processing,
TransactionTooOld(BlockIndex),
}Variants§
Trait Implementations§
Source§impl CandidType for NotifyError
impl CandidType for NotifyError
Source§impl Debug for NotifyError
impl Debug for NotifyError
Source§impl<'de> Deserialize<'de> for NotifyError
impl<'de> Deserialize<'de> for NotifyError
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 Freeze for NotifyError
impl RefUnwindSafe for NotifyError
impl Send for NotifyError
impl Sync for NotifyError
impl Unpin for NotifyError
impl UnwindSafe for NotifyError
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