Enum secret_handshake::ServerHandshakeError [] [src]

pub enum ServerHandshakeError<FilterErr> {
    IoError(Error),
    FilterFnError(FilterErr),
}

A fatal error that occured during the execution of a handshake by a filtering server.

Variants

An IO error occured during reading or writing. The contained error is guaranteed to not have kind WouldBlock.

The filter function errored, the error is wrapped in this variant.

Trait Implementations

impl<FilterErr: Debug> Debug for ServerHandshakeError<FilterErr>
[src]

[src]

Formats the value using the given formatter.

impl<FilterErr> From<Error> for ServerHandshakeError<FilterErr>
[src]

[src]

Performs the conversion.

impl<FilterErr: Error> Display for ServerHandshakeError<FilterErr>
[src]

[src]

Formats the value using the given formatter. Read more

impl<FilterErr: Error> Error for ServerHandshakeError<FilterErr>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more