Enum security_framework::secure_transport::HandshakeError [−][src]
pub enum HandshakeError<S> { Failure(Error), Interrupted(MidHandshakeSslStream<S>), }
Expand description
An error or intermediate state after a TLS handshake attempt.
Variants
Failure(Error)
The handshake failed.
Interrupted(MidHandshakeSslStream<S>)
The handshake was interrupted midway through.
Trait Implementations
impl<S: Debug> Debug for HandshakeError<S>
[src]
impl<S: Debug> Debug for HandshakeError<S>
[src]impl<S> From<Error> for HandshakeError<S>
[src]
impl<S> From<Error> for HandshakeError<S>
[src]fn from(err: Error) -> HandshakeError<S>
[src]
fn from(err: Error) -> HandshakeError<S>
[src]Performs the conversion.
Auto Trait Implementations
impl<S> RefUnwindSafe for HandshakeError<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for HandshakeError<S> where
S: Send,
S: Send,
impl<S> Sync for HandshakeError<S> where
S: Sync,
S: Sync,
impl<S> Unpin for HandshakeError<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for HandshakeError<S> where
S: UnwindSafe,
S: UnwindSafe,