pub enum ClientHandshakeError<S> {
Failure(Error),
Interrupted(MidHandshakeClientBuilder<S>),
}
Expand description
An error or intermediate state after a TLS handshake attempt.
Variants§
Failure(Error)
The handshake failed.
Interrupted(MidHandshakeClientBuilder<S>)
The handshake was interrupted midway through.
Trait Implementations§
source§impl<S: Debug> Debug for ClientHandshakeError<S>
impl<S: Debug> Debug for ClientHandshakeError<S>
Auto Trait Implementations§
impl<S> Freeze for ClientHandshakeError<S>
impl<S> RefUnwindSafe for ClientHandshakeError<S>where
S: RefUnwindSafe,
impl<S> Send for ClientHandshakeError<S>where
S: Send,
impl<S> Sync for ClientHandshakeError<S>where
S: Sync,
impl<S> Unpin for ClientHandshakeError<S>where
S: Unpin,
impl<S> UnwindSafe for ClientHandshakeError<S>where
S: UnwindSafe,
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