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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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
impl<FilterErr: Error> Error for ServerHandshakeError<FilterErr>
[src]
Auto Trait Implementations
impl<FilterErr> Send for ServerHandshakeError<FilterErr> where
FilterErr: Send,
FilterErr: Send,
impl<FilterErr> Sync for ServerHandshakeError<FilterErr> where
FilterErr: Sync,
FilterErr: Sync,