pub struct ShellHandle { /* private fields */ }Expand description
Handle to an interactive shell session with PTY support.
Implementations§
Source§impl ShellHandle
impl ShellHandle
Sourcepub fn split(self) -> (ShellWriter, ShellReader)
pub fn split(self) -> (ShellWriter, ShellReader)
Split into writer (cloneable, for input) and reader (for output).
Auto Trait Implementations§
impl !RefUnwindSafe for ShellHandle
impl !UnwindSafe for ShellHandle
impl Freeze for ShellHandle
impl Send for ShellHandle
impl Sync for ShellHandle
impl Unpin for ShellHandle
impl UnsafeUnpin for ShellHandle
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