pub trait Context<T> { // Required method fn context(self, error: Error) -> Result<T>; }
Trait for converting error types to a Result<T>.
Result<T>
Attach context to the given error.
Propagates errors from self
self