pub enum RusageWho {
SelfProcess,
Children,
Thread,
}Expand description
Cible d’une mesure Rusage pour getrusage(2). Re-présente RUSAGE_* en
enum typé (pas de constante magique exposée — ADR-021).
Variants§
SelfProcess
Le processus appelant (RUSAGE_SELF).
Children
Tous les enfants terminés et attendus (RUSAGE_CHILDREN).
Thread
Le thread appelant (RUSAGE_THREAD).
Trait Implementations§
impl Copy for RusageWho
impl Eq for RusageWho
impl StructuralPartialEq for RusageWho
Auto Trait Implementations§
impl Freeze for RusageWho
impl RefUnwindSafe for RusageWho
impl Send for RusageWho
impl Sync for RusageWho
impl Unpin for RusageWho
impl UnsafeUnpin for RusageWho
impl UnwindSafe for RusageWho
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