Enum rthrift::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
Unknown
Catch-all I/O error.
NotOpen
An I/O operation was attempted when the transport channel was not open.
AlreadyOpen
The transport channel cannot be opened because it was opened previously.
TimedOut
An I/O operation timed out.
EndOfFile
A read could not complete because no bytes were available.
NegativeSize
An invalid (buffer/message) size was requested or received.
SizeLimit
Too large a buffer or message size was requested or received.
Trait Implementations
impl Clone for TransportErrorKind
[src]
fn clone(&self) -> TransportErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.