#[repr(u8)]pub enum ExitNumber {
Show 14 variants
Success = 0,
Usage = 2,
Validation = 3,
Config = 4,
Network = 5,
Authentication = 6,
Permission = 7,
Absence = 8,
Conflict = 9,
Limit = 10,
Server = 11,
Timeout = 124,
Interrupted = 130,
BrokenPipe = 141,
}Expand description
The closed table of process exit numbers.
A number outside this list does not exist in the product. Adding one is a change to the published contract, never an implementation detail.
Variants§
Success = 0
Success.
Usage = 2
Incorrect use of this tool.
Validation = 3
Analysis refused the statement.
Config = 4
Configuration missing or invalid.
Network = 5
Network unreachable.
Authentication = 6
Authentication refused.
Permission = 7
Insufficient permission.
Absence = 8
Object not found.
Conflict = 9
Lock conflict, deadlock or constraint.
Limit = 10
Size, row or packet ceiling reached.
Server = 11
Error returned by the server.
Timeout = 124
Time limit reached.
Interrupted = 130
Interrupted by a signal from the caller.
BrokenPipe = 141
The output channel was closed by the reader.
Implementations§
Trait Implementations§
Source§impl Clone for ExitNumber
impl Clone for ExitNumber
impl Copy for ExitNumber
Source§impl Debug for ExitNumber
impl Debug for ExitNumber
Source§impl<'de> Deserialize<'de> for ExitNumber
impl<'de> Deserialize<'de> for ExitNumber
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExitNumber
Source§impl From<ExitNumber> for ExitCode
impl From<ExitNumber> for ExitCode
Source§fn from(value: ExitNumber) -> Self
fn from(value: ExitNumber) -> Self
Converts to this type from the input type.
Source§impl Hash for ExitNumber
impl Hash for ExitNumber
Source§impl PartialEq for ExitNumber
impl PartialEq for ExitNumber
Source§impl Serialize for ExitNumber
impl Serialize for ExitNumber
impl StructuralPartialEq for ExitNumber
Auto Trait Implementations§
impl Freeze for ExitNumber
impl RefUnwindSafe for ExitNumber
impl Send for ExitNumber
impl Sync for ExitNumber
impl Unpin for ExitNumber
impl UnsafeUnpin for ExitNumber
impl UnwindSafe for ExitNumber
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.