pub struct Exit {
pub text: String,
pub stderr: bool,
pub code: i32,
}Expand description
What an embedded host should print before returning the supplied status.
Fields§
§text: StringThe text exactly as the process-facing renderer produced it.
stderr: boolWhether the text belongs on stderr rather than stdout.
code: i32The status the standalone process would have exited with.
Trait Implementations§
impl Eq for Exit
impl StructuralPartialEq for Exit
Auto Trait Implementations§
impl Freeze for Exit
impl RefUnwindSafe for Exit
impl Send for Exit
impl Sync for Exit
impl Unpin for Exit
impl UnsafeUnpin for Exit
impl UnwindSafe for Exit
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