pub struct ExecController { /* private fields */ }Expand description
A cloneable handle for driving a running command (stdin, signals, window size) from other threads while one thread reads its output.
Implementations§
Source§impl ExecController
impl ExecController
Sourcepub fn write_stdin(&self, data: &[u8]) -> Result<()>
pub fn write_stdin(&self, data: &[u8]) -> Result<()>
Write to stdin (only with Stdin::Piped).
Sourcepub fn close_stdin(&self) -> Result<()>
pub fn close_stdin(&self) -> Result<()>
Send EOF on stdin (only with Stdin::Piped). Later writes fail.
pub fn signal(&self, signal: i32) -> Result<()>
pub fn resize(&self, width: u16, height: u16) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecController
impl RefUnwindSafe for ExecController
impl Send for ExecController
impl Sync for ExecController
impl Unpin for ExecController
impl UnsafeUnpin for ExecController
impl UnwindSafe for ExecController
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