pub enum AccountError {
Show 13 variants
CommitmentError(CommitmentError),
CRHError(CRHError),
Crate(&'static str, String),
EncryptionError(EncryptionError),
InvalidAccountCommitment,
InvalidByteLength(usize),
InvalidCharacterLength(usize),
InvalidPrefix(String),
InvalidPrefixBytes(Vec<u8>),
InvalidPrivateKeySeed,
Message(String),
PRFError(PRFError),
SignatureError(SignatureError),
}Variants§
CommitmentError(CommitmentError)
CRHError(CRHError)
Crate(&'static str, String)
EncryptionError(EncryptionError)
InvalidAccountCommitment
InvalidByteLength(usize)
InvalidCharacterLength(usize)
InvalidPrefix(String)
InvalidPrefixBytes(Vec<u8>)
InvalidPrivateKeySeed
Message(String)
PRFError(PRFError)
SignatureError(SignatureError)
Trait Implementations§
Source§impl Debug for AccountError
impl Debug for AccountError
Source§impl Display for AccountError
impl Display for AccountError
Source§impl Error for AccountError
impl Error for AccountError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AccountError> for DPCError
impl From<AccountError> for DPCError
Source§fn from(error: AccountError) -> Self
fn from(error: AccountError) -> Self
Converts to this type from the input type.
Source§impl From<AccountError> for NodeError
impl From<AccountError> for NodeError
Source§fn from(error: AccountError) -> Self
fn from(error: AccountError) -> Self
Converts to this type from the input type.
Source§impl From<AccountError> for RpcError
impl From<AccountError> for RpcError
Source§fn from(error: AccountError) -> Self
fn from(error: AccountError) -> Self
Converts to this type from the input type.
Source§impl From<CRHError> for AccountError
impl From<CRHError> for AccountError
Source§impl From<CommitmentError> for AccountError
impl From<CommitmentError> for AccountError
Source§fn from(error: CommitmentError) -> Self
fn from(error: CommitmentError) -> Self
Converts to this type from the input type.
Source§impl From<EncryptionError> for AccountError
impl From<EncryptionError> for AccountError
Source§fn from(error: EncryptionError) -> Self
fn from(error: EncryptionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AccountError
impl From<Error> for AccountError
Source§impl From<Error> for AccountError
impl From<Error> for AccountError
Source§impl From<FromBase58Error> for AccountError
impl From<FromBase58Error> for AccountError
Source§fn from(error: FromBase58Error) -> Self
fn from(error: FromBase58Error) -> Self
Converts to this type from the input type.
Source§impl From<PRFError> for AccountError
impl From<PRFError> for AccountError
Source§impl From<SignatureError> for AccountError
impl From<SignatureError> for AccountError
Source§fn from(error: SignatureError) -> Self
fn from(error: SignatureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountError
impl RefUnwindSafe for AccountError
impl Send for AccountError
impl Sync for AccountError
impl Unpin for AccountError
impl UnwindSafe for AccountError
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