Enum openssh_mux_client::connection::Error [−][src]
pub enum Error {
UnsupportedMuxProtocol,
InvalidServerResponse(&'static str, Response),
InvalidPort,
InvalidPid,
UnmatchedRequestId,
UnmatchedSessionId,
IOError(Error),
FormatError(Error),
RequestFailure(String),
PermissionDenied(String),
}
Variants
Server speaks multiplex protocol other than protocol 4.
Server response with unexpected package type {0}: Response {1:#?}.
Server response with port = 0.
Server response with pid = 0.
Server response with a different id than the requested one.
Server response with a different session_id.
IOError(Error)
IO Error (Excluding EWOULDBLOCK
): {0}.
Tuple Fields of IOError
0: Error
FormatError(Error)
Failed to serialize/deserialize the message: {0}.
Tuple Fields of FormatError
0: Error
RequestFailure(String)
Server refused the request: {0}.
Tuple Fields of RequestFailure
0: String
PermissionDenied(String)
Server refused the request due to insufficient permission: {0}.
Tuple Fields of PermissionDenied
0: String