pub struct Printed {
pub text: String,
pub stderr: bool,
pub code: i32,
}Expand description
What a program would have written, where, and what it would have exited with.
Fields§
§text: StringThe text, exactly as the process would have written it — plain, never coloured, because a snapshot with escape sequences in it is a snapshot nobody can read.
stderr: boolWhether it goes to stderr. Help asked for goes to stdout; help shown because a command line was wrong does not.
code: i32The exit status that would have followed.
Trait Implementations§
impl Eq for Printed
impl StructuralPartialEq for Printed
Auto Trait Implementations§
impl Freeze for Printed
impl RefUnwindSafe for Printed
impl Send for Printed
impl Sync for Printed
impl Unpin for Printed
impl UnsafeUnpin for Printed
impl UnwindSafe for Printed
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