Trait thiserror_string_context::AddErrorContext

source ·
pub trait AddErrorContext<E, T, S> {
    // Required method
    fn with_context(self, f: impl FnOnce() -> S) -> Result<T, E>;
}

Required Methods§

source

fn with_context(self, f: impl FnOnce() -> S) -> Result<T, E>

Object Safety§

This trait is not object safe.

Implementors§