Enum openssh_mux_client::Response
source · [−]pub enum Response {
Hello {
version: u32,
},
Alive {
response_id: u32,
server_pid: u32,
},
Ok {
response_id: u32,
},
Failure {
response_id: u32,
reason: Box<str>,
},
PermissionDenied {
response_id: u32,
reason: Box<str>,
},
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
Hello
Fields
version: u32
Alive
Ok
Fields
response_id: u32
Failure
PermissionDenied
SessionOpened
ExitMessage
TtyAllocFail
Fields
session_id: u32
RemotePort
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Response
impl UnwindSafe for Response
Blanket Implementations
Mutably borrows from an owned value. Read more