IntoErrorContext

Trait IntoErrorContext 

Source
pub trait IntoErrorContext {
    // Required method
    fn into_error_context(self) -> ErrorContext;
}
Expand description

Converts a type into an ErrorContext for error annotation.

Required Methods§

Source

fn into_error_context(self) -> ErrorContext

Converts self into an ErrorContext.

Implementations on Foreign Types§

Source§

impl IntoErrorContext for &'static str

Implementors§