pub enum WriteMessageErrors {
    MessageConstructionFailed,
    MessageSendFailed(Error),
}
Expand description

The error type for a message writing

Variants

MessageConstructionFailed

Failed to construct message. This indicates that the protocol implementation has a flaw

MessageSendFailed(Error)

Failed to send message. This indicates typically a run-time problem.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.