pub enum CoreDirective {
SendPacket(Vec<u8>),
AuthAccepted {
username: Vec<u8>,
},
AuthRejected,
ExecStarted {
channel_id: u32,
wiring: ExecSessionWiring,
},
StdinData {
channel_id: u32,
data: Vec<u8>,
},
CloseConnection,
}Variants§
Auto Trait Implementations§
impl Freeze for CoreDirective
impl RefUnwindSafe for CoreDirective
impl Send for CoreDirective
impl Sync for CoreDirective
impl Unpin for CoreDirective
impl UnsafeUnpin for CoreDirective
impl UnwindSafe for CoreDirective
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