[][src]Enum thrift::TransportErrorKind

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]

impl Copy for TransportErrorKind[src]

impl Eq for TransportErrorKind[src]

impl PartialEq<TransportErrorKind> for TransportErrorKind[src]

impl Debug for TransportErrorKind[src]

impl TryFrom<i32> for TransportErrorKind[src]

type Error = Error

The type returned in the event of a conversion error.

impl StructuralPartialEq for TransportErrorKind[src]

impl StructuralEq for TransportErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]