[][src]Enum qrpc_sdk::errors::RpcError

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

A set of errors that occur when connecting to services

Variants

NoSuchService

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

Other(String)

Any other failure with it's error message string

Trait Implementations

impl Debug 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, 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.