[][src]Enum laminar::ErrorKind

pub enum ErrorKind {
    DecodingError(DecodingErrorKind),
    FragmentError(FragmentErrorKind),
    PacketError(PacketErrorKind),
    IOError(Error),
    ReceivedDataToShort,
    ProtocolVersionMismatch,
    SendError(SendError<SocketEvent>),
    CouldNotReadHeader(String),
}

Enum with all possible network errors that could occur.

Variants

DecodingError(DecodingErrorKind)

Error in decoding the packet

FragmentError(FragmentErrorKind)

Error relating to receiving or parsing a fragment

PacketError(PacketErrorKind)

Error relating to receiving or parsing a packet

IOError(Error)

Wrapper around a std io::Error

ReceivedDataToShort

Did not receive enough data

ProtocolVersionMismatch

Protocol versions did not match

Could not send on SendChannel.

CouldNotReadHeader(String)

Expected header but could not be read from buffer.

Trait Implementations

impl From<Error> for ErrorKind[src]

impl From<SendError<SocketEvent>> for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl Error for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,