[][src]Trait boilerplato::ResultExt

pub trait ResultExt<T> {
    fn wrap(self) -> Result<T, Error>;
fn context<C: Display + Send + Sync + 'static>(
        self,
        ctx: C
    ) -> Result<T, Error>; }

Required methods

fn wrap(self) -> Result<T, Error>

fn context<C: Display + Send + Sync + 'static>(self, ctx: C) -> Result<T, Error>

Loading content...

Implementations on Foreign Types

impl<T, E: Error + Send + Sync + 'static> ResultExt<T> for Result<T, E>[src]

Loading content...

Implementors

Loading content...