[][src]Enum ledger_zondax_generic::LedgerAppError

pub enum LedgerAppError {
    InvalidVersion,
    InvalidEmptyMessage,
    InvalidChunkPayloadType,
    InvalidMessageSize,
    InvalidPK,
    NoSignature,
    InvalidSignature,
    InvalidDerivationPath,
    TransportError(TransportError),
    Crypto,
    Utf8,
    InvalidFormatID,
    HexEncode,
    AppSpecific(u16String),
}

App Error

Variants

InvalidVersion

Invalid version error

InvalidEmptyMessage

The message cannot be empty

InvalidChunkPayloadType

Invalid payload type in chunk

InvalidMessageSize

The size fo the message to sign is invalid

InvalidPK

Public Key is invalid

NoSignature

No signature has been returned

InvalidSignature

The signature is not valid

InvalidDerivationPath

The derivation is invalid

TransportError(TransportError)

The derivation is invalid

Crypto

Crypto related errors

Utf8

Utf8 related errors

InvalidFormatID

Format ID error

HexEncode

HexEncode

AppSpecific(u16String)

Application specific error

Trait Implementations

impl Clone for LedgerAppError[src]

impl Debug for LedgerAppError[src]

impl<'de> Deserialize<'de> for LedgerAppError[src]

impl Display for LedgerAppError[src]

impl Eq for LedgerAppError[src]

impl Error for LedgerAppError[src]

impl From<TransportError> for LedgerAppError[src]

impl PartialEq<LedgerAppError> for LedgerAppError[src]

impl Serialize for LedgerAppError[src]

impl StructuralEq for LedgerAppError[src]

impl StructuralPartialEq for LedgerAppError[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.