Type Alias procfs_core::ProcResult
source · pub type ProcResult<T> = Result<T, ProcError>;Expand description
The main error type for the procfs crate.
For more info, see the ProcError type.
Aliased Type§
enum ProcResult<T> {
Ok(T),
Err(ProcError),
}Variants§
Trait Implementations§
source§impl<T> ProcErrorExt for ProcResult<T>
impl<T> ProcErrorExt for ProcResult<T>
source§fn error_path(self, path: &Path) -> Self
fn error_path(self, path: &Path) -> Self
Add path information to the error.