Enum kcp::Error
[−]
[src]
pub enum Error { ConvInconsistent(u32, u32), InvalidMtuSisze(usize), InvalidSegmentSize(usize), InvalidSegmentDataSize(usize, usize), IoError(Error), NeedUpdate, RecvQueueEmpty, UnexceptedEOF, UnsupportCmd(u8), UserBufTooBig, UserBufTooSmall, }
KCP protocol errors
Variants
ConvInconsistent(u32, u32)
InvalidMtuSisze(usize)
InvalidSegmentSize(usize)
InvalidSegmentDataSize(usize, usize)
IoError(Error)
NeedUpdate
RecvQueueEmpty
UnexceptedEOF
UnsupportCmd(u8)
UserBufTooBig
UserBufTooSmall
Trait Implementations
impl Debug for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more