pub enum SessionOutput {
Stdout(Vec<u8>),
Stderr(Vec<u8>),
Exit(u32),
Close,
}Expand description
Output messages sent from Session to the SSH channel.
Variants§
Stdout(Vec<u8>)
Standard output data.
Stderr(Vec<u8>)
Standard error data.
Exit(u32)
Exit status code.
Close
Close the channel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionOutput
impl RefUnwindSafe for SessionOutput
impl Send for SessionOutput
impl Sync for SessionOutput
impl Unpin for SessionOutput
impl UnwindSafe for SessionOutput
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