#[repr(i32)]pub(crate) enum ExitCode {
Error = 1,
ErrorNotEncrypted = 2,
ErrorEmpty = 3,
ErrorNotFound = 4,
ErrorV1 = 5,
ErrorGspById = 6,
}
Expand description
Automation requires certain exit codes to be guaranteed main matches Error enum to ExitCode
query-encryption must return ErrorNotEncrypted if file is not encrypted dump-headers must return ErrorEmpty when file is blank query-size must return ErrorNotFound when file id is uninitialized ExitCode::Error returned for all other errors
Variants§
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