Skip to main content

OnError

Trait OnError 

Source
pub trait OnError: Operand {
    // Required method
    fn on_error<A: ErrorPolicy<Self>>(&self, policy: A) -> A::Output;
}

Required Methods§

Source

fn on_error<A: ErrorPolicy<Self>>(&self, policy: A) -> A::Output

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<O: Operand> OnError for O