pub struct DetachedCommand { /* private fields */ }Implementations§
Source§impl DetachedCommand
impl DetachedCommand
pub fn start(cmd: &str, args: &[&str]) -> Result<DetachedCommand, Error>
pub fn send_str(&mut self, s: &str)
pub fn send(&mut self, buffer: Vec<u8>)
pub fn recv_blocking(&mut self) -> CapturedOutput
pub fn stdout_available(&self) -> bool
pub fn stderr_available(&self) -> bool
pub fn recv_stdout(&mut self) -> String
pub fn recv_stderr(&mut self) -> String
pub fn poll(&mut self) -> Result<(), Error>
pub fn shutdown(&mut self)
Auto Trait Implementations§
impl Freeze for DetachedCommand
impl !RefUnwindSafe for DetachedCommand
impl Send for DetachedCommand
impl !Sync for DetachedCommand
impl Unpin for DetachedCommand
impl UnsafeUnpin for DetachedCommand
impl !UnwindSafe for DetachedCommand
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