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

The handshake failed.

Tuple Fields of Failure

0: Error
Interrupted

The handshake was interrupted midway through.

Tuple Fields of Interrupted

0: MidHandshakeSslStream<S>

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.