Skip to main content

OnBucketErrorWithCause

Trait OnBucketErrorWithCause 

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

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

Required Associated Types§

Source

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

Required Methods§

Source

fn on_bucket_error_with_cause<C>(&self, policy: A) -> Self::ReturnOperand<C>
where C: Error + 'static, A: BucketErrorPolicyWithCause<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> OnBucketErrorWithCause<A> for O

Source§

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