Skip to main content

OnKeyErrorOf

Trait OnKeyErrorOf 

Source
pub trait OnKeyErrorOf<A>: Operand {
    type ReturnOperand<D>
       where D: Diagnostic,
             A: KeyErrorPolicyOf<Self, D>;

    // Required method
    fn on_key_error_of<D>(&self, policy: A) -> Self::ReturnOperand<D>
       where D: Diagnostic,
             A: KeyErrorPolicyOf<Self, D>;
}

Required Associated Types§

Source

type ReturnOperand<D> where D: Diagnostic, A: KeyErrorPolicyOf<Self, D>

Required Methods§

Source

fn on_key_error_of<D>(&self, policy: A) -> Self::ReturnOperand<D>
where D: Diagnostic, A: KeyErrorPolicyOf<Self, D>,

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

Source§

type ReturnOperand<D> = <A as KeyErrorPolicyOf<O, D>>::Output where D: Diagnostic, A: KeyErrorPolicyOf<Self, D>