pub struct SessionOutput { /* private fields */ }Available on crate features
blocking or tokio only.Expand description
Virtual-terminal output collected from a managed session.
ConPTY exposes one rendered VT byte stream rather than distinct stdout and
stderr channels, so this type intentionally does not pretend otherwise.
The byte buffer may be large, so collecting output does not also make it
implicitly cloneable; a hidden compile-fail doctest pins the missing
Clone.
Implementations§
Source§impl SessionOutput
impl SessionOutput
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 UnsafeUnpin 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