Enum thrift::TransportErrorKind [−][src]
#[non_exhaustive]
pub enum TransportErrorKind {
Unknown,
NotOpen,
AlreadyOpen,
TimedOut,
EndOfFile,
NegativeSize,
SizeLimit,
}
Expand description
I/O error categories.
This list may grow, and it is not recommended to match against it.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Catch-all I/O error.
An I/O operation was attempted when the transport channel was not open.
The transport channel cannot be opened because it was opened previously.
An I/O operation timed out.
A read could not complete because no bytes were available.
An invalid (buffer/message) size was requested or received.
Too large a buffer or message size was requested or received.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransportErrorKind
impl Send for TransportErrorKind
impl Sync for TransportErrorKind
impl Unpin for TransportErrorKind
impl UnwindSafe for TransportErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more