Trait pingora_error::Context
source · pub trait Context<T> {
// Required method
fn err_context<C: Into<ImmutStr>, F: FnOnce() -> C>(
self,
context: F
) -> Result<T, BError>;
}
Expand description
Helper trait to add more context to a given error
Required Methods§
Object Safety§
This trait is not object safe.