#[repr(C)]pub struct exit_status {
pub e_termination: c_short,
pub e_exit: c_short,
}
Expand description
Type for ut_exit
, below
Fields§
§e_termination: c_short
Process termination status
e_exit: c_short
Process exit status
Trait Implementations§
Source§impl Clone for exit_status
impl Clone for exit_status
Source§fn clone(&self) -> exit_status
fn clone(&self) -> exit_status
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for exit_status
impl Debug for exit_status
Source§impl FromBytes for exit_status
impl FromBytes for exit_status
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§impl FromZeroes for exit_statuswhere
c_short: FromZeroes,
impl FromZeroes for exit_statuswhere
c_short: FromZeroes,
impl Copy for exit_status
Auto Trait Implementations§
impl Freeze for exit_status
impl RefUnwindSafe for exit_status
impl Send for exit_status
impl Sync for exit_status
impl Unpin for exit_status
impl UnwindSafe for exit_status
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