pub struct ResUse {
pub status: ExitStatus,
pub rusage: ResourceUsage,
}Expand description
Resources used by a process and its exit status
Fields§
§status: ExitStatusSame as the one returned by wait.
rusage: ResourceUsageResource used by the process and all its children
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResUse
impl RefUnwindSafe for ResUse
impl Send for ResUse
impl Sync for ResUse
impl Unpin for ResUse
impl UnwindSafe for ResUse
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