Enum parsec_client::error::ClientErrorKind
source · [−]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(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
sourceimpl Debug for ClientErrorKind
impl Debug for ClientErrorKind
sourceimpl Display for ClientErrorKind
impl Display for ClientErrorKind
sourceimpl From<ClientErrorKind> for Error
impl From<ClientErrorKind> for Error
sourcefn from(client_error: ClientErrorKind) -> Self
fn from(client_error: ClientErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ClientErrorKind
impl Send for ClientErrorKind
impl Sync for ClientErrorKind
impl Unpin for ClientErrorKind
impl !UnwindSafe for ClientErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more