Enum rouille::websocket::SendError[][src]

pub enum SendError {
    IoError(Error),
    Closed,
}
Expand description

Error that can happen when sending a message to the client.

Variants

IoError(Error)

Failed to transfer the message on the socket.

Tuple Fields of IoError

0: Error
Closed

The websocket connection is closed.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.