Skip to main content

ErrorPolicyIn

Trait ErrorPolicyIn 

Source
pub trait ErrorPolicyIn<I: Operand, G: ErrorGroup>: Clone + 'static {
    type Output: Operand;

    // Required method
    fn build(&self, input: I) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn build(&self, input: I) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<I, G, A> ErrorPolicyIn<I, G> for Replace<A>
where G: ErrorGroup, A: Clone + 'static, ReplaceErrorsIn<G, A>: Operation, I: Apply<ReplaceErrorsIn<G, A>>,

Source§

impl<I, G, C> ErrorPolicyIn<I, G> for RaiseWhen<C>
where G: ErrorGroup, C: Clone + 'static, RaiseWhenErrorsIn<G, C>: Operation, I: Apply<RaiseWhenErrorsIn<G, C>>,

Source§

impl<I: Apply<DropErrorsIn<G>>, G: ErrorGroup> ErrorPolicyIn<I, G> for Drop

Source§

impl<I: Apply<RaiseErrorsIn<G>>, G: ErrorGroup> ErrorPolicyIn<I, G> for Raise