pub trait IntoErrorContext {
// Required method
fn into_error_context(self) -> ErrorContext;
}Expand description
Converts a type into an ErrorContext for error annotation.
Required Methods§
Sourcefn into_error_context(self) -> ErrorContext
fn into_error_context(self) -> ErrorContext
Converts self into an ErrorContext.