[][src]Trait templar::error::ResultMap

pub trait ResultMap<U> {
    pub fn wrap(self) -> Result<U>;
}

Helper trait for wrapping other error types as a Templar error

Required methods

pub fn wrap(self) -> Result<U>[src]

Wrap an external error as a Templar error

Loading content...

Implementations on Foreign Types

impl<U, T> ResultMap<U> for Result<U, T> where
    T: Error + Into<Box<dyn Error + Send + Sync>>, 
[src]

Loading content...

Implementors

Loading content...