pub enum Error {
NoSuchProcess,
NotChild,
Unavailable,
UnsupportedPlatform,
}Expand description
Error type for getrusage failures.
Variants§
NoSuchProcess
The process does not exist.
NotChild
The process exists, but is not a child of the current process.
The process exists, but its resource usage statistics are unavailable.
UnsupportedPlatform
This platform is not supported. There is only support for linux.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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