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§
Source§impl Debug for ClientErrorKind
impl Debug for ClientErrorKind
Source§impl Display for ClientErrorKind
impl Display for ClientErrorKind
Source§impl From<ClientErrorKind> for Error
impl From<ClientErrorKind> for Error
Source§fn from(client_error: ClientErrorKind) -> Self
fn from(client_error: ClientErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientErrorKind
impl !RefUnwindSafe for ClientErrorKind
impl Send for ClientErrorKind
impl Sync for ClientErrorKind
impl Unpin for ClientErrorKind
impl !UnwindSafe for ClientErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more