pub enum CapturedOutput {
    Stdout {
        timestamp: SystemTime,
        line: String,
    },
    Stderr {
        timestamp: SystemTime,
        line: String,
    },
}Variants§
Implementations§
Source§impl CapturedOutput
 
impl CapturedOutput
pub fn stdout(line: String) -> CapturedOutput
pub fn stderr(line: String) -> CapturedOutput
pub fn timestamp(&self) -> SystemTime
pub fn line(&self) -> &str
Trait Implementations§
Source§impl Clone for CapturedOutput
 
impl Clone for CapturedOutput
Source§fn clone(&self) -> CapturedOutput
 
fn clone(&self) -> CapturedOutput
Returns a copy of the value. Read more
1.0.0 · 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 CapturedOutput
 
impl Debug for CapturedOutput
Source§impl Ord for CapturedOutput
 
impl Ord for CapturedOutput
Source§fn cmp(&self, other: &CapturedOutput) -> Ordering
 
fn cmp(&self, other: &CapturedOutput) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CapturedOutput
 
impl PartialEq for CapturedOutput
Source§impl PartialOrd for CapturedOutput
 
impl PartialOrd for CapturedOutput
impl Eq for CapturedOutput
impl StructuralPartialEq for CapturedOutput
Auto Trait Implementations§
impl Freeze for CapturedOutput
impl RefUnwindSafe for CapturedOutput
impl Send for CapturedOutput
impl Sync for CapturedOutput
impl Unpin for CapturedOutput
impl UnwindSafe for CapturedOutput
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)