[][src]Enum ssb_multiformats::multibox::DecodeLegacyError

pub enum DecodeLegacyError {
    NoDot,
    InvalidBase64(DecodeError),
    NoncanonicPadding,
    InvalidSuffix,
}

Everything that can go wrong when decoding a Multibox from the legacy encoding.

Variants

NoDot

Input did not contain a "." to separate the data from the suffix.

InvalidBase64(DecodeError)

The base64 portion of the box was invalid.

NoncanonicPadding

The base64 portion of the box did not use the correct amount of padding.

InvalidSuffix

The suffix is not well-formed.

Trait Implementations

impl Clone for DecodeLegacyError[src]

impl Debug for DecodeLegacyError[src]

impl Display for DecodeLegacyError[src]

impl Eq for DecodeLegacyError[src]

impl Error for DecodeLegacyError[src]

impl PartialEq<DecodeLegacyError> for DecodeLegacyError[src]

impl StructuralEq for DecodeLegacyError[src]

impl StructuralPartialEq for DecodeLegacyError[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> 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.