Skip to main content

IsErrorKind

Trait IsErrorKind 

Source
pub trait IsErrorKind {
    type ReturnOperand<D>
       where D: Diagnostic,
             Self: Apply<IsErrorKindOperation<D>>;

    // Required method
    fn is<D>(&self) -> Self::ReturnOperand<D>
       where D: Diagnostic,
             Self: Apply<IsErrorKindOperation<D>>;
}

Required Associated Types§

Required Methods§

Source

fn is<D>(&self) -> Self::ReturnOperand<D>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§