pub struct WaitStatus {
pub pid: Pid,
pub uid: u32,
pub event: WaitEvent,
}Expand description
État rapporté par waitid pour un événement enfant.
Fields§
§pid: PidPID de l’enfant concerné.
uid: u32UID effectif de l’enfant au moment de l’événement.
event: WaitEventType d’événement (terminaison, signal, arrêt, reprise, …).
Trait Implementations§
Source§impl Clone for WaitStatus
impl Clone for WaitStatus
Source§fn clone(&self) -> WaitStatus
fn clone(&self) -> WaitStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WaitStatus
Auto Trait Implementations§
impl Freeze for WaitStatus
impl RefUnwindSafe for WaitStatus
impl Send for WaitStatus
impl Sync for WaitStatus
impl Unpin for WaitStatus
impl UnsafeUnpin for WaitStatus
impl UnwindSafe for WaitStatus
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