[−][src]Trait eyre::ContextExt
Required methods
fn note<C>(self, context: C) -> Result<T> where
C: ContextObj,
C: ContextObj,
Wrap the error value with additional context.
fn with_note<C, F>(self, f: F) -> Result<T> where
C: ContextObj,
F: FnOnce() -> C,
C: ContextObj,
F: FnOnce() -> C,
Wrap the error value with additional context that is evaluated lazily only once an error does occur.
Implementations on Foreign Types
impl<T, E> ContextExt<T, E> for Result<T, E> where
E: IntoErrorReporter<BoxError, RootCauseFirst, ContextObject> + Send + Sync + 'static,
[src]
E: IntoErrorReporter<BoxError, RootCauseFirst, ContextObject> + Send + Sync + 'static,
fn note<C>(self, context: C) -> Result<T> where
C: Display + Send + Sync + 'static,
[src]
C: Display + Send + Sync + 'static,
fn with_note<C, F>(self, context: F) -> Result<T> where
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,
[src]
C: Display + Send + Sync + 'static,
F: FnOnce() -> C,