Enum kcp::Error[][src]

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

KCP protocol errors

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. 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

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error