pub struct ExitCode {
pub behavior: Behavior,
pub value: i32,
}
Expand description
Defines a mapping of an exit code to behavior.
Fields§
§behavior: Behavior
What behavior to take.
value: i32
The exit code value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExitCode
impl RefUnwindSafe for ExitCode
impl Send for ExitCode
impl Sync for ExitCode
impl Unpin for ExitCode
impl UnwindSafe for ExitCode
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