Enum openssh_mux_client::connection::Response [−][src]
pub enum Response {
Hello {
version: u32,
},
Alive {
response_id: u32,
server_pid: u32,
},
Ok {
response_id: u32,
},
Failure {
response_id: u32,
reason: String,
},
PermissionDenied {
response_id: u32,
reason: String,
},
SessionOpened {
response_id: u32,
session_id: u32,
},
ExitMessage {
session_id: u32,
exit_value: u32,
},
TtyAllocFail {
session_id: u32,
},
RemotePort {
response_id: u32,
remote_port: u32,
},
}
Expand description
WARNING: Response can only be used with ssh_mux_format, which treats tuple and struct as the same.
Variants
Fields of Hello
version: u32
Fields of Ok
response_id: u32
Fields of TtyAllocFail
session_id: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Response
impl UnwindSafe for Response
Blanket Implementations
Mutably borrows from an owned value. Read more