Trait traffloat_client::error::BoxContext [−][src]
pub trait BoxContext<T> {
fn context<C: Display + Send + Sync + 'static>(
self,
context: C
) -> Result<T>;
fn with_context<C: Display + Send + Sync + 'static, F: FnOnce() -> C>(
self,
f: F
) -> Result<T>;
}