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 AsyncCommandwhere
*const ArcInner<Atomic<bool>> is !null: Freeze,
PhantomData<ArcInner<Atomic<bool>>>: Freeze,
*mut Counter<Channel<Result<Output, Error>>>: Freeze,
*mut Counter<Channel<Result<Output, Error>>>: Freeze,
*mut Counter<Channel<Result<Output, Error>>>: Freeze,
*const ArcInner<Inner> is !null: Freeze,
PhantomData<ArcInner<Inner>>: Freeze,
*const ArcInner<Packet<'static, ()>> is !null: Freeze,
PhantomData<ArcInner<Packet<'static, ()>>>: Freeze,
*mut Counter<Channel<Vec<u8>>>: Freeze,
*mut Counter<Channel<Vec<u8>>>: Freeze,
*mut Counter<Channel<Vec<u8>>>: Freeze,
impl Move for AsyncCommand
impl Send for AsyncCommand
impl Unpin for AsyncCommandwhere
Arc<Atomic<bool>>: Unpin,
*mut Counter<Channel<Result<Output, Error>>>: Unpin,
*mut Counter<Channel<Result<Output, Error>>>: Unpin,
*mut Counter<Channel<Result<Output, Error>>>: Unpin,
Arc<Inner, System>: Unpin,
Arc<Packet<'static, ()>>: Unpin,
*mut Counter<Channel<Vec<u8>>>: Unpin,
*mut Counter<Channel<Vec<u8>>>: Unpin,
*mut Counter<Channel<Vec<u8>>>: Unpin,
impl UnsafeUnpin for AsyncCommandwhere
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
*mut Counter<Channel<Result<Output, Error>>>: UnsafeUnpin,
*mut Counter<Channel<Result<Output, Error>>>: UnsafeUnpin,
*mut Counter<Channel<Result<Output, Error>>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Packet<'static, ()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Packet<'static, ()>>>: UnsafeUnpin,
*mut Counter<Channel<Vec<u8>>>: UnsafeUnpin,
*mut Counter<Channel<Vec<u8>>>: UnsafeUnpin,
*mut Counter<Channel<Vec<u8>>>: UnsafeUnpin,
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