[][src]Enum indradb_proto::ClientError

pub enum ClientError {
    Conversion {
        inner: ConversionError,
    },
    UnexpectedResponseId {
        expected: u32,
        actual: u32,
    },
    UnexpectedEmptyResponse {
        request_id: u32,
    },
    Grpc {
        inner: Status,
    },
    Transport {
        inner: TonicTransportError,
    },
    ChannelClosed,
}

The error returned if a client operation failed.

Variants

Conversion

Fields of Conversion

inner: ConversionError
UnexpectedResponseId

Fields of UnexpectedResponseId

expected: u32actual: u32
UnexpectedEmptyResponse

Fields of UnexpectedEmptyResponse

request_id: u32
Grpc

Fields of Grpc

inner: Status
Transport

Fields of Transport

inner: TonicTransportError
ChannelClosed

Trait Implementations

impl Debug for ClientError[src]

impl Display for ClientError[src]

impl Fail for ClientError[src]

impl From<ConversionError> for ClientError[src]

impl From<Error> for ClientError[src]

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

impl From<Status> for ClientError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]