Trait sfwtools::error::SfwResError

source ·
pub trait SfwResError<T> {
    // Required method
    fn sfw_err(self, fstr: &str) -> Result<T, Error>
       where Self: Sized;
}

Required Methods§

source

fn sfw_err(self, fstr: &str) -> Result<T, Error>
where Self: Sized,

Intended as a potentially non-fatal error, typically used in library code.

Implementations on Foreign Types§

source§

impl<T> SfwResError<T> for Option<T>

source§

fn sfw_err(self, fstr: &str) -> Result<T, Error>

source§

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

source§

fn sfw_err(self, fstr: &str) -> Result<T, Error>

Implementors§