pub struct AsyncCommand { /* private fields */ }Expand description
A nonblocking bounded command which cancels its process group when dropped.
Implementations§
Source§impl AsyncCommand
impl AsyncCommand
Sourcepub fn try_stderr(&mut self) -> Option<StderrObservation>
pub fn try_stderr(&mut self) -> Option<StderrObservation>
Poll the optional stderr queue without blocking. On overflow, pending copies are dropped and the queue stays disabled.
pub fn try_wait(&mut self) -> Option<Result<Output, Error>>
Trait Implementations§
Source§impl Drop for AsyncCommand
impl Drop for AsyncCommand
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncCommand
impl !Sync for AsyncCommand
impl !UnwindSafe for AsyncCommand
impl Forget for AsyncCommand
impl Freeze for AsyncCommand
impl Move for AsyncCommand
impl Send for AsyncCommand
impl Unpin for AsyncCommand
impl UnsafeUnpin for AsyncCommand
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