Skip to main content

HasErrorCause

Trait HasErrorCause 

Source
pub trait HasErrorCause {
    type ReturnOperand<C>
       where C: Error + 'static,
             Self: Apply<HasErrorCauseOperation<C>>;

    // Required method
    fn has_cause<C>(&self) -> Self::ReturnOperand<C>
       where C: Error + 'static,
             Self: Apply<HasErrorCauseOperation<C>>;
}

Required Associated Types§

Source

type ReturnOperand<C> where C: Error + 'static, Self: Apply<HasErrorCauseOperation<C>>

Required Methods§

Source

fn has_cause<C>(&self) -> Self::ReturnOperand<C>
where C: Error + 'static, Self: Apply<HasErrorCauseOperation<C>>,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§