pub enum ClientError {
InvalidRootCert,
InvalidClientCertificate,
InvalidClientPrivateKey,
IoError(FrameIoError),
}Expand description
Errors that can occur during communication with a client
Variants§
InvalidRootCert
The root certificate for the ssl communications was invalid
InvalidClientCertificate
The client certificate was invalid
InvalidClientPrivateKey
The client private key was invalid
IoError(FrameIoError)
A communication error
Trait Implementations§
Source§impl Debug for ClientError
impl Debug for ClientError
Source§impl From<FrameIoError> for ClientError
impl From<FrameIoError> for ClientError
Source§fn from(value: FrameIoError) -> Self
fn from(value: FrameIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientError
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnsafeUnpin for ClientError
impl !UnwindSafe for ClientError
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