pub struct Captured {
pub code: i32,
pub lines: Vec<String>,
pub stderr: String,
}Expand description
What one captured run produced. The counterpart of the lines a Go
logger records and of cn.d.log in the TypeScript suite: one entry
per printed call, so an entry that spans several physical lines (the
help text, the grammar description, indented JSON) stays one entry.
Fields§
§code: i32The process exit code.
lines: Vec<String>What went to standard output, one entry per printed call.
stderr: StringWhat went to standard error.
Implementations§
Trait Implementations§
impl Eq for Captured
impl StructuralPartialEq for Captured
Auto Trait Implementations§
impl Freeze for Captured
impl RefUnwindSafe for Captured
impl Send for Captured
impl Sync for Captured
impl Unpin for Captured
impl UnsafeUnpin for Captured
impl UnwindSafe for Captured
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.