pub enum ExitCategory {
Standard,
Networking,
Configuration,
Runtime,
Usage,
Permissions,
Data,
Security,
Observability,
Testing,
Shell,
Signals,
}Expand description
Exit code category identifier.
Variants§
Standard
Standard POSIX codes (0-1)
Networking
Network and port management (10-19)
Configuration
Configuration and validation (20-29)
Runtime
Runtime errors (30-39)
Usage
Command-line usage errors (40-49, 64)
Permissions
File and permission errors (50-59)
Data
Data and parsing errors (60-69)
Security
Security and authentication (70-79)
Observability
Observability and monitoring (80-89)
Testing
Testing and validation (91-99)
Shell
Shell & process conventions (124-127)
Signals
Signal-induced exits (128+)
Implementations§
Trait Implementations§
Source§impl Clone for ExitCategory
impl Clone for ExitCategory
Source§fn clone(&self) -> ExitCategory
fn clone(&self) -> ExitCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExitCategory
Source§impl Debug for ExitCategory
impl Debug for ExitCategory
impl Eq for ExitCategory
Source§impl Hash for ExitCategory
impl Hash for ExitCategory
Source§impl PartialEq for ExitCategory
impl PartialEq for ExitCategory
impl StructuralPartialEq for ExitCategory
Auto Trait Implementations§
impl Freeze for ExitCategory
impl RefUnwindSafe for ExitCategory
impl Send for ExitCategory
impl Sync for ExitCategory
impl Unpin for ExitCategory
impl UnsafeUnpin for ExitCategory
impl UnwindSafe for ExitCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.