Enum bee_tangle::metadata::MessageMetadataError[][src]

pub enum MessageMetadataError {
    Io(Error),
    OptionIndex(<Option<MilestoneIndex> as Packable>::Error),
    OptionIndexId(<Option<IndexId> as Packable>::Error),
    Ledger(Error),
}

An error that may occur when manipulating message metadata.

Variants

Io(Error)

An IO error occurred.

OptionIndex(<Option<MilestoneIndex> as Packable>::Error)

A packing error occurred.

OptionIndexId(<Option<IndexId> as Packable>::Error)

A packing error occurred.

Ledger(Error)

An error relating to a ledger type occurred.

Trait Implementations

impl Debug for MessageMetadataError[src]

impl From<Error> for MessageMetadataError[src]

impl From<OptionError<Error>> for MessageMetadataError[src]

impl From<OptionError<IndexIdError>> for MessageMetadataError[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,