Enum libqaul_sdk::RpcError[][src]

pub enum RpcError {
    NoSuchService(String),
    Timeout,
    AlreadyConnected,
    NotConnected,
    ConnectionFault(String),
    EncoderFault(String),
    Other(String),
}

A set of errors that occur when connecting to services

Variants

NoSuchService(String)

No such service was found by the broker

Timeout

The selected recipient didn’t reply within the timeout

This may indicate that the requested service has crashed, is dealing with backpressure, or the broker is quietly dropping requests.

AlreadyConnected

Tried connecting to a service that’s already connected

NotConnected

Failed to perform action that requires a connection

ConnectionFault(String)

Invalid connection: performing the last operation has failed

EncoderFault(String)

Encoding or decoding a payload failed

Other(String)

Any other failure with it’s error message string

Trait Implementations

impl Debug for RpcError[src]

impl Display for RpcError[src]

impl From<Error> for RpcError[src]

impl From<Error> for RpcError[src]

impl From<TimeoutError> for RpcError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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, U> Into<U> for T where
    U: From<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>,