[][src]Trait fehler::Context

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

Provides the context method for Result.

Required methods

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

Wrap the error value with additional context.

Loading content...

Implementations on Foreign Types

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

impl<T> Context<T> for Result<T, Exception>[src]

Loading content...

Implementors

Loading content...