pub enum HandshakeError<IoErr> {
Show 13 variants
Io(IoErr),
UnexpectedEnd,
ClientHelloDeserializeFailed,
ClientHelloVerifyFailed,
ServerHelloDeserializeFailed,
ServerHelloVerifyFailed,
ClientAuthDeserializeFailed,
ClientAuthVerifyFailed,
ServerAcceptDeserializeFailed,
ServerAcceptVerifyFailed,
SharedAInvalid,
SharedBInvalid,
SharedCInvalid,
}Variants§
Io(IoErr)
UnexpectedEnd
ClientHelloDeserializeFailed
ClientHelloVerifyFailed
ServerHelloDeserializeFailed
ServerHelloVerifyFailed
ClientAuthDeserializeFailed
ClientAuthVerifyFailed
ServerAcceptDeserializeFailed
ServerAcceptVerifyFailed
Trait Implementations§
Source§impl<IoErr: Debug> Debug for HandshakeError<IoErr>
impl<IoErr: Debug> Debug for HandshakeError<IoErr>
Source§impl<IoErr> Display for HandshakeError<IoErr>where
IoErr: Display,
Available on crate feature std only.
impl<IoErr> Display for HandshakeError<IoErr>where
IoErr: Display,
Available on crate feature
std only.Source§impl<IoErr> Error for HandshakeError<IoErr>where
IoErr: Error + 'static,
Available on crate feature std only.
impl<IoErr> Error for HandshakeError<IoErr>where
IoErr: Error + 'static,
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<IoErr> From<IoErr> for HandshakeError<IoErr>
impl<IoErr> From<IoErr> for HandshakeError<IoErr>
Source§impl<IoErr> From<ReadExactError<IoErr>> for HandshakeError<IoErr>
impl<IoErr> From<ReadExactError<IoErr>> for HandshakeError<IoErr>
Source§fn from(err: ReadExactError<IoErr>) -> Self
fn from(err: ReadExactError<IoErr>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<IoErr> Freeze for HandshakeError<IoErr>where
IoErr: Freeze,
impl<IoErr> RefUnwindSafe for HandshakeError<IoErr>where
IoErr: RefUnwindSafe,
impl<IoErr> Send for HandshakeError<IoErr>where
IoErr: Send,
impl<IoErr> Sync for HandshakeError<IoErr>where
IoErr: Sync,
impl<IoErr> Unpin for HandshakeError<IoErr>where
IoErr: Unpin,
impl<IoErr> UnsafeUnpin for HandshakeError<IoErr>where
IoErr: UnsafeUnpin,
impl<IoErr> UnwindSafe for HandshakeError<IoErr>where
IoErr: 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