Enum ckb_app_config::ExitCode
source · #[repr(i32)]pub enum ExitCode {
Cli = 64,
Config = 65,
IO = 66,
Failure = 113,
}
Expand description
Uses 0, 64 - 113 as exit code.
Variants§
Cli = 64
Command line arguments error.
Config = 65
Config options error.
IO = 66
Operation system I/O error.
Failure = 113
General application failures.
Implementations§
Trait Implementations§
source§impl From<SetLoggerError> for ExitCode
impl From<SetLoggerError> for ExitCode
source§fn from(err: SetLoggerError) -> ExitCode
fn from(err: SetLoggerError) -> ExitCode
Converts to this type from the input type.
source§impl PartialEq for ExitCode
impl PartialEq for ExitCode
impl Copy for ExitCode
impl Eq for ExitCode
impl StructuralPartialEq for ExitCode
Auto Trait Implementations§
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