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§
pub 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.