[][src]Enum snarkos_errors::dpc::dpc::DPCError

pub enum DPCError {
    AccountError(AccountError),
    CommitmentError(CommitmentError),
    CRHError(CRHError),
    Crate(&'static strString),
    EncodingError(EncodingError),
    EncryptionError(EncryptionError),
    LedgerError(LedgerError),
    MerkleError(MerkleError),
    Message(String),
    MissingInnerSnarkProvingParameters,
    MissingOuterSnarkProvingParameters,
    ParametersError(ParametersError),
    PRFError(PRFError),
    SignatureError(SignatureError),
    SNARKError(SNARKError),
}

Variants

AccountError(AccountError)
CommitmentError(CommitmentError)
CRHError(CRHError)
Crate(&'static strString)
EncodingError(EncodingError)
EncryptionError(EncryptionError)
LedgerError(LedgerError)
MerkleError(MerkleError)
Message(String)
MissingInnerSnarkProvingParameters
MissingOuterSnarkProvingParameters
ParametersError(ParametersError)
PRFError(PRFError)
SignatureError(SignatureError)
SNARKError(SNARKError)

Trait Implementations

impl Debug for DPCError[src]

impl Display for DPCError[src]

impl Error for DPCError[src]

impl From<AccountError> for DPCError[src]

impl From<CRHError> for DPCError[src]

impl From<CommitmentError> for DPCError[src]

impl From<DPCError> for ConsensusError[src]

impl From<DPCError> for RpcError[src]

impl From<EncodingError> for DPCError[src]

impl From<EncryptionError> for DPCError[src]

impl From<Error> for DPCError[src]

impl From<LedgerError> for DPCError[src]

impl From<MerkleError> for DPCError[src]

impl From<PRFError> for DPCError[src]

impl From<ParametersError> for DPCError[src]

impl From<SNARKError> for DPCError[src]

impl From<SignatureError> for DPCError[src]

Auto Trait Implementations

impl !RefUnwindSafe for DPCError

impl Send for DPCError

impl Sync for DPCError

impl Unpin for DPCError

impl !UnwindSafe for DPCError

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.