[][src]Enum snarkos_errors::objects::account::AccountError

pub enum AccountError {
    CommitmentError(CommitmentError),
    CRHError(CRHError),
    Crate(&'static strString),
    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 strString)
EncryptionError(EncryptionError)
InvalidAccountCommitment
InvalidByteLength(usize)
InvalidCharacterLength(usize)
InvalidPrefix(String)
InvalidPrefixBytes(Vec<u8>)
InvalidPrivateKeySeed
Message(String)
PRFError(PRFError)
SignatureError(SignatureError)

Trait Implementations

impl Debug for AccountError[src]

impl Display for AccountError[src]

impl Error for AccountError[src]

impl From<AccountError> for DPCError[src]

impl From<AccountError> for NodeError[src]

impl From<AccountError> for RpcError[src]

impl From<CRHError> for AccountError[src]

impl From<CommitmentError> for AccountError[src]

impl From<EncryptionError> for AccountError[src]

impl From<Error> for AccountError[src]

impl From<Error> for AccountError[src]

impl From<FromBase58Error> for AccountError[src]

impl From<PRFError> for AccountError[src]

impl From<SignatureError> for AccountError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.