pub enum Item<Out> {
Stdout(Out),
Stderr(Out),
Done(Result<ExitStatus>),
}
Expand description
ProcessStream
output.
Variants§
Stdout(Out)
A stdout chunk printed by the process.
Stderr(Out)
A stderr chunk printed by the process.
Done(Result<ExitStatus>)
The ExitStatus
, yielded after the process exits.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Out> Freeze for Item<Out>where
Out: Freeze,
impl<Out> !RefUnwindSafe for Item<Out>
impl<Out> Send for Item<Out>where
Out: Send,
impl<Out> Sync for Item<Out>where
Out: Sync,
impl<Out> Unpin for Item<Out>where
Out: Unpin,
impl<Out> !UnwindSafe for Item<Out>
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