[][src]Enum fizyr_rpc::error::WriteMessageError

pub enum WriteMessageError {
    Io(Error),
    PayloadTooLarge(PayloadTooLarge),
}

An error occurred while writing a message.

Variants

Io(Error)

An I/O error occurred.

PayloadTooLarge(PayloadTooLarge)

The payload of the message is too large to send.

Implementations

impl WriteMessageError[src]

pub fn is_connection_aborted(&self) -> bool[src]

Check if the error is an I/O error indicating that the connection was aborted by the remote peer.

Trait Implementations

impl Debug for WriteMessageError[src]

impl Display for WriteMessageError[src]

impl Error for WriteMessageError[src]

impl From<Error> for WriteMessageError[src]

impl From<PayloadTooLarge> for WriteMessageError[src]

impl From<WriteMessageError> for SendRequestError[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> 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.