pub struct CliExitCode(/* private fields */);Expand description
CLI exit-code primitive.
Implementations§
Source§impl CliExitCode
impl CliExitCode
Sourcepub const UNAVAILABLE: Self
pub const UNAVAILABLE: Self
The unavailable constant.
Sourcepub const TEMPORARY_FAILURE: Self
pub const TEMPORARY_FAILURE: Self
The temporary failure constant.
Sourcepub const PERMISSION: Self
pub const PERMISSION: Self
The permission constant.
Trait Implementations§
Source§impl Clone for CliExitCode
impl Clone for CliExitCode
impl Copy for CliExitCode
Source§impl Debug for CliExitCode
impl Debug for CliExitCode
impl Eq for CliExitCode
Source§impl Hash for CliExitCode
impl Hash for CliExitCode
Source§impl Ord for CliExitCode
impl Ord for CliExitCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CliExitCode
impl PartialEq for CliExitCode
Source§impl PartialOrd for CliExitCode
impl PartialOrd for CliExitCode
impl StructuralPartialEq for CliExitCode
Auto Trait Implementations§
impl Freeze for CliExitCode
impl RefUnwindSafe for CliExitCode
impl Send for CliExitCode
impl Sync for CliExitCode
impl Unpin for CliExitCode
impl UnsafeUnpin for CliExitCode
impl UnwindSafe for CliExitCode
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