pub struct ProcessUpdate {
pub lines: Vec<OutputLine>,
pub dropped_lines: usize,
pub exit: Option<ProcessExit>,
}Expand description
Output and optional terminal status produced by one poll.
Fields§
§lines: Vec<OutputLine>Lines retained since the previous poll.
dropped_lines: usizeLines dropped because the configured capacity was exceeded.
exit: Option<ProcessExit>Terminal status, returned exactly once.
Trait Implementations§
Source§impl Clone for ProcessUpdate
impl Clone for ProcessUpdate
Source§fn clone(&self) -> ProcessUpdate
fn clone(&self) -> ProcessUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessUpdate
impl Debug for ProcessUpdate
impl Eq for ProcessUpdate
Source§impl PartialEq for ProcessUpdate
impl PartialEq for ProcessUpdate
impl StructuralPartialEq for ProcessUpdate
Auto Trait Implementations§
impl Freeze for ProcessUpdate
impl RefUnwindSafe for ProcessUpdate
impl Send for ProcessUpdate
impl Sync for ProcessUpdate
impl Unpin for ProcessUpdate
impl UnsafeUnpin for ProcessUpdate
impl UnwindSafe for ProcessUpdate
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