Trait procfs::ProcErrorExt

source ·
pub trait ProcErrorExt {
    // Required method
    fn error_path(self, path: &Path) -> Self;
}
Expand description

Extensions for dealing with ProcErrors.

Required Methods§

source

fn error_path(self, path: &Path) -> Self

Add path information to the error.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ProcErrorExt for Result<T, ProcError>

source§

fn error_path(self, path: &Path) -> Result<T, ProcError>

Implementors§