Enum kcp::Error [] [src]

pub enum Error {
    ConvInconsistent(u32u32),
    InvalidMtuSisze(usize),
    InvalidSegmentSize(usize),
    InvalidSegmentDataSize(usizeusize),
    IoError(Error),
    NeedUpdate,
    RecvQueueEmpty,
    UnexceptedEOF,
    UnsupportCmd(u8),
    UserBufTooBig,
    UserBufTooSmall,
}

KCP protocol errors

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more