Enum secret_handshake::ServerHandshakeFailure [] [src]

pub enum ServerHandshakeFailure {
    InvalidMsg1,
    InvalidMsg3,
}

Reason why a server might reject the client although the handshake itself was executed without IO errors.

Variants

Received invalid msg1 from the client.

Received invalid msg3 from the client.

Trait Implementations

impl Debug for ServerHandshakeFailure
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ServerHandshakeFailure
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ServerHandshakeFailure
[src]

impl Copy for ServerHandshakeFailure
[src]

impl Clone for ServerHandshakeFailure
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more