pub trait AddErrorContext<E, T> {
// Required method
fn with_context<'a>(self, f: impl FnOnce() -> &'a str) -> Result<T, E>;
}
Required Methods§
fn with_context<'a>(self, f: impl FnOnce() -> &'a str) -> Result<T, E>
Object Safety§
This trait is not object safe.