Skip to main content

ErrorExt

Trait ErrorExt 

Source
pub trait ErrorExt {
    // Required method
    fn raise(self) -> Err<Self>
       where Self: Sized;
}

Required Methods§

Source

fn raise(self) -> Err<Self>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E> ErrorExt for E
where E: ErrorTrait + Send + Sync + 'static,