pub enum Failure {
NotAuthorized,
TransactionNotFound,
AlreadyVoted,
OpenTransactionLimit,
DescriptionOver512Chars,
TransactionNotOpen,
HandleOpenTxns,
InvalidThreshold,
CantRemoveAllSigners,
CommandBesidesSignerChange,
Unknown(String),
}Variants§
NotAuthorized
TransactionNotFound
AlreadyVoted
OpenTransactionLimit
DescriptionOver512Chars
TransactionNotOpen
HandleOpenTxns
InvalidThreshold
CantRemoveAllSigners
CommandBesidesSignerChange
Unknown(String)
Trait Implementations§
Source§impl CandidType for Failure
impl CandidType for Failure
Source§impl<'de> Deserialize<'de> for Failure
impl<'de> Deserialize<'de> for Failure
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 Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnwindSafe for Failure
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