Enum socket_collection::SocketError[]

pub enum SocketError {
    Io(Error),
    UninitialisedSocket,
    PayloadSizeProhibitive,
    Serialisation(SerialisationError),
    Timer(TimerError),
    ZeroByteRead,
}

Common module specific error

Variants

IO error

Socket is uninitialised and invalid for any operation

Size of a message to send or about to be read is too large

Serialisation error

Timer error

A zero byte socket read - means EOF

Trait Implementations

impl Debug for SocketError
[src]

Formats the value using the given formatter. Read more

impl Display for SocketError

Formats the value using the given formatter. Read more

impl Error for SocketError

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for SocketError

Performs the conversion.

impl From<SerialisationError> for SocketError

Performs the conversion.

impl From<TimerError> for SocketError

Performs the conversion.

Auto Trait Implementations

impl Send for SocketError

impl Sync for SocketError