pub enum ExitCode {
Success = 0,
GeneralError = 1,
NotFound = 2,
PermissionDenied = 3,
InvalidInput = 4,
}Expand description
Exit codes for CLI
Variants§
Success = 0
Operation completed successfully
GeneralError = 1
A general error occurred
NotFound = 2
The requested process or port was not found
PermissionDenied = 3
Operation requires elevated privileges
InvalidInput = 4
Invalid arguments or input provided
Trait Implementations§
impl Copy for ExitCode
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