Enum parsec_client::error::ClientErrorKind[][src]

pub enum ClientErrorKind {
    Interface(ResponseStatus),
    Ipc(Error),
    InvalidServiceResponseType,
    InvalidProvider,
    NoProvider,
    NoAuthenticator,
    MissingParam,
    NotFound,
    InvalidSocketAddress,
    InvalidSocketUrl,
}

Types of errors local to the client library

Variants

Interface(ResponseStatus)

Errors generated by the Parsec interface library

Ipc(Error)

Errors generated by interacting with the underlying IPC mechanism

InvalidServiceResponseType

The opcode of the response does not match the opcode of the request

InvalidProvider

The operation is not supported by the selected provider

NoProvider

Client is missing an implicit provider

NoAuthenticator

Service is missing authenticator or none of the authenticators is supported by the client

MissingParam

Required parameter was not provided

NotFound

The requested resource was not found.

InvalidSocketAddress

The socket address provided is not valid

InvalidSocketUrl

The socket URL is invalid

Trait Implementations

impl Debug for ClientErrorKind[src]

impl Display for ClientErrorKind[src]

impl From<ClientErrorKind> for Error[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, 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.