Struct ExitStatusError
pub struct ExitStatusError(pub(in ::sys::process::unix::unix) NonZero<c_int>);
Fields
0: NonZero<c_int>
Implementations
impl ExitStatusError
fn code(self) -> Option<NonZero<i32>>
Trait Implementations
impl Clone for ExitStatusError
fn clone(&self) -> ExitStatusError
impl Copy for ExitStatusError
impl Debug for ExitStatusError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ExitStatusError
fn assert_fields_are_eq(&self)
impl Into<ExitStatus> for ExitStatusError
fn into(self) -> ExitStatus
impl PartialEq for ExitStatusError
fn eq(&self, other: &ExitStatusError) -> bool
impl StructuralPartialEq for ExitStatusError
impl TrivialClone for ExitStatusError
Auto Trait Implementations
impl Freeze for ExitStatusError
impl RefUnwindSafe for ExitStatusError
impl Send for ExitStatusError
impl Sync for ExitStatusError
impl Unpin for ExitStatusError
impl UnsafeUnpin for ExitStatusError
impl UnwindSafe for ExitStatusError
Blanket Implementations
impl<T> Any for ExitStatusError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ExitStatusError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ExitStatusError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ExitStatusError
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ExitStatusError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for ExitStatusError
where
T: Copy + Debug,
impl<T> SizeHint for ExitStatusError
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for ExitStatusError
impl<T> ToOwned for ExitStatusError
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for ExitStatusError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ExitStatusError
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for ExitStatusError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>