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
IoError(Error)
An IO error occured during reading or writing. The contained error is
guaranteed to not have kind WouldBlock
.
FilterFnError(FilterErr)
The filter function errored, the error is wrapped in this variant.
Trait Implementations
impl<FilterErr: Debug> Debug for ServerHandshakeError<FilterErr>
[src]
impl<FilterErr> From<Error> for ServerHandshakeError<FilterErr>
[src]
impl<FilterErr: Error> Display for ServerHandshakeError<FilterErr>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more