Enum thrift::TransportErrorKind
[−]
[src]
pub enum TransportErrorKind {
Unknown,
NotOpen,
AlreadyOpen,
TimedOut,
EndOfFile,
NegativeSize,
SizeLimit,
}I/O error categories.
This list may grow, and it is not recommended to match against it.
Variants
UnknownCatch-all I/O error.
NotOpenAn I/O operation was attempted when the transport channel was not open.
AlreadyOpenThe transport channel cannot be opened because it was opened previously.
TimedOutAn I/O operation timed out.
EndOfFileA read could not complete because no bytes were available.
NegativeSizeAn invalid (buffer/message) size was requested or received.
SizeLimitToo large a buffer or message size was requested or received.
Trait Implementations
impl Clone for TransportErrorKind[src]
fn clone(&self) -> TransportErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for TransportErrorKind[src]
impl Eq for TransportErrorKind[src]
impl Debug for TransportErrorKind[src]
impl PartialEq for TransportErrorKind[src]
fn eq(&self, __arg_0: &TransportErrorKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.