[][src]Enum simple_secrets::CorruptPacketKind

pub enum CorruptPacketKind {
    TooShort,
    NotAuthentic,
    IncorrectlyEncrypted,
}

Reasons why the packet data has been corrupted to the point where it is unrecoverable.

Variants

TooShort

The packet has been corrupted because it is too short to contain both data and verifying information.

NotAuthentic

The packet has been corrupted because while the data was originally validated with the expected master key, it has been altered in some way since then.

IncorrectlyEncrypted

The packet has been corrupted because its data is identical to what was originally created, but the sender's encryption is flawed.

Trait Implementations

impl Debug for CorruptPacketKind
[src]

impl Display for CorruptPacketKind
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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