pub enum Msg {
Authenticate {
user: String,
method: Method,
},
AuthInfoResponse {
responses: Vec<String>,
},
Signed {
data: CryptoVec,
},
ChannelOpenSession {
channel_ref: ChannelRef,
},
ChannelOpenX11 {
originator_address: String,
originator_port: u32,
channel_ref: ChannelRef,
},
ChannelOpenDirectTcpIp {
host_to_connect: String,
port_to_connect: u32,
originator_address: String,
originator_port: u32,
channel_ref: ChannelRef,
},
ChannelOpenDirectStreamLocal {
socket_path: String,
channel_ref: ChannelRef,
},
TcpIpForward {
want_reply: bool,
address: String,
port: u32,
},
CancelTcpIpForward {
want_reply: bool,
address: String,
port: u32,
},
Close {
id: ChannelId,
},
Disconnect {
reason: Disconnect,
description: String,
language_tag: String,
},
Channel(ChannelId, ChannelMsg),
}
Variants§
Authenticate
AuthInfoResponse
Signed
ChannelOpenSession
Fields
§
channel_ref: ChannelRef
ChannelOpenX11
ChannelOpenDirectTcpIp
Fields
§
channel_ref: ChannelRef
ChannelOpenDirectStreamLocal
TcpIpForward
CancelTcpIpForward
Close
Disconnect
Channel(ChannelId, ChannelMsg)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl !UnwindSafe for Msg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more