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