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

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

Types of errors local to the client library

Variants

Interface

Errors generated by the Parsec interface library

Tuple Fields of Interface

0: ResponseStatus
Ipc

Errors generated by interacting with the underlying IPC mechanism

Tuple Fields of Ipc

0: Error
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

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.