pub trait Context<T, E> {
// Required methods
fn context<C>(self, context: C) -> Result<T>
where C: Display + Send + Sync + 'static;
fn with_context<C, F>(self, context: F) -> Result<T>
where C: Display + Send + Sync + 'static,
F: FnOnce() -> C;
fn dot(self) -> Result<T>;
}Required Methods§
fn context<C>(self, context: C) -> Result<T>where C: Display + Send + Sync + 'static,
fn with_context<C, F>(self, context: F) -> Result<T>where C: Display + Send + Sync + 'static, F: FnOnce() -> C,
Object Safety§
This trait is not object safe.