pub struct Outputs<'t> {
pub truthy: bool,
pub available_captures: AvailableCaptures,
pub output: Output,
pub indent: &'t str,
}Expand description
Wrapper around Output that dereferences to it, but also offers a
truthy field, and implements Display to show a multi-line message
with both process status and its outputs.
Fields§
§truthy: boolWhether process exited with status 0 (or maybe in the future a set of status codes that represent success)
available_captures: AvailableCaptures§output: Output§indent: &'t strPrefixed to output lines, “\t” by default
Trait Implementations§
Auto Trait Implementations§
impl<'t> Freeze for Outputs<'t>
impl<'t> RefUnwindSafe for Outputs<'t>
impl<'t> Send for Outputs<'t>
impl<'t> Sync for Outputs<'t>
impl<'t> Unpin for Outputs<'t>
impl<'t> UnwindSafe for Outputs<'t>
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