Enum mhost::app::ExitStatus
source · pub enum ExitStatus {
Ok = 0,
CliParsingFailed = 1,
ConfigParsingFailed = 2,
UnrecoverableError = 3,
Failed = 10,
CheckFailed = 11,
Abort = 12,
}
Expand description
ExitStatus
represents the exit states that will be return to the OS after termination
Variants§
Ok = 0
All fine.
CliParsingFailed = 1
CLI argument parsing failed.
ConfigParsingFailed = 2
Processing of CLI arguments failed.
UnrecoverableError = 3
An unrecoverable error occurred. This is worst case and should not happen.
Failed = 10
A module failed to properly execute.
CheckFailed = 11
A module check failed.
Abort = 12
A module could not proceed because of invalid preconditions of the succeeding step.
Trait Implementations§
source§impl Clone for ExitStatus
impl Clone for ExitStatus
source§fn clone(&self) -> ExitStatus
fn clone(&self) -> ExitStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ExitStatus
impl Send for ExitStatus
impl Sync for ExitStatus
impl Unpin for ExitStatus
impl UnwindSafe for ExitStatus
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