[]Enum socket_collection::SocketError

pub enum SocketError {
    Io(Error),
    UninitialisedSocket,
    PayloadSizeProhibitive,
    Serialisation(SerialisationError),
    ZeroByteRead,
    Udt(UdtError),
    UnconnectedUdpSocket,
    NoUdtEpoll,
    UdtNegativeBytesRead(i32),
    UdtNegativeBytesWrite(i32),
    Crypto(Error),
}

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

A zero byte socket read - means EOF

UDT error

UDP Socket is not connected

No UDT Epoll Loop

UDT read has resulted in negative return value

UDT write has resulted in negative return value

Crypto related error.

Trait Implementations

impl From<Error> for SocketError

impl From<SerialisationError> for SocketError

impl From<Error> for SocketError

impl Debug for SocketError
[src]

impl Display for SocketError

impl Error for SocketError

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

Auto Trait Implementations

impl Send for SocketError

impl Sync for SocketError

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same for T

Should always be Self