[][src]Enum koibumi_core::object::TryIntoBroadcastError

pub enum TryIntoBroadcastError {
    InvalidType(ObjectType),
    IoError(Error),
    UnsupportedVersion(ObjectVersion),
}

This error indicates that the conversion from object to broadcast failed.

Variants

InvalidType(ObjectType)

Indicates that the type of the supplied object was not broadcast. The actual type of the object is returned as a payload of this variant.

IoError(Error)

A standard I/O error was caught during decrypting a message. The actual error caught is returned as a payload of this variant.

UnsupportedVersion(ObjectVersion)

Indicates that the version of the supplied object was not supported. The actual version of the object is returned as a payload of this variant.

Trait Implementations

impl Debug for TryIntoBroadcastError[src]

impl Display for TryIntoBroadcastError[src]

impl Error for TryIntoBroadcastError[src]

impl From<Error> for TryIntoBroadcastError[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> 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.