Errors

Trait Errors 

Source
pub trait Errors {
    type Contextual;

    // Required method
    fn ctx(self, context: impl Display) -> Self::Contextual;
}

Required Associated Types§

Required Methods§

Source

fn ctx(self, context: impl Display) -> Self::Contextual

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T, E> Errors for Result<T, E>
where E: Into<PassFuError>,

Source§

type Contextual = Result<T, PassFuError>

Source§

fn ctx(self, context: impl Display) -> Self::Contextual

Implementors§