pub enum ProcError {
PermissionDenied,
NotFound,
Io(Error),
Other(String),
}
Error type for most procfs functions
A standard permission denied error.
This will be a common error, since some files in the procfs filesystem are only readable by
the root user.
This might mean that the process no longer exists, or that your kernel doesn't support the
feature you are trying to use.
Any other IO error (rare).
Any other non-IO error (very rare).
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static