Skip to main content

OnErrorIn

Trait OnErrorIn 

Source
pub trait OnErrorIn<A>: Operand {
    type ReturnOperand<G>
       where G: ErrorGroup,
             A: ErrorPolicyIn<Self, G>;

    // Required method
    fn on_error_in<G>(&self, policy: A) -> Self::ReturnOperand<G>
       where G: ErrorGroup,
             A: ErrorPolicyIn<Self, G>;
}

Required Associated Types§

Source

type ReturnOperand<G> where G: ErrorGroup, A: ErrorPolicyIn<Self, G>

Required Methods§

Source

fn on_error_in<G>(&self, policy: A) -> Self::ReturnOperand<G>
where G: ErrorGroup, A: ErrorPolicyIn<Self, G>,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<O: Operand, A> OnErrorIn<A> for O

Source§

type ReturnOperand<G> = <A as ErrorPolicyIn<O, G>>::Output where G: ErrorGroup, A: ErrorPolicyIn<Self, G>