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