Skip to main content

ErrorExt

Trait ErrorExt 

Source
pub trait ErrorExt<T> {
    // Required method
    fn fs_context(
        self,
        context: &'static str,
        path: impl Into<PathBuf>,
    ) -> Result<T>;
}

Required Methods§

Source

fn fs_context( self, context: &'static str, path: impl Into<PathBuf>, ) -> Result<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ErrorExt<T> for Result<T, Error>

Source§

fn fs_context( self, context: &'static str, path: impl Into<PathBuf>, ) -> Result<T>

Implementors§