Skip to main content

OnKeyErrorWithCause

Trait OnKeyErrorWithCause 

Source
pub trait OnKeyErrorWithCause<A>: Operand {
    type ReturnOperand<C>
       where C: Error + 'static,
             A: KeyErrorPolicyWithCause<Self, C>;

    // Required method
    fn on_key_error_with_cause<C>(&self, policy: A) -> Self::ReturnOperand<C>
       where C: Error + 'static,
             A: KeyErrorPolicyWithCause<Self, C>;
}

Required Associated Types§

Source

type ReturnOperand<C> where C: Error + 'static, A: KeyErrorPolicyWithCause<Self, C>

Required Methods§

Source

fn on_key_error_with_cause<C>(&self, policy: A) -> Self::ReturnOperand<C>
where C: Error + 'static, A: KeyErrorPolicyWithCause<Self, C>,

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> OnKeyErrorWithCause<A> for O

Source§

type ReturnOperand<C> = <A as KeyErrorPolicyWithCause<O, C>>::Output where C: Error + 'static, A: KeyErrorPolicyWithCause<Self, C>