pub fn is_invalid_certificate_fault(&self) -> bool {
        matches!(
            &self.kind,
            ImportCertificateErrorKind::InvalidCertificateFault(_)
        )
    }
/// Returns `true` if the error kind is `ImportCertificateErrorKind::InvalidCertificateFault`.
Returns `true` if the error kind is `ImportCertificateErrorKind::InvalidCertificateFault`.
Returns ` true ` if the error kind is ` ImportCertificateErrorKind :: InvalidCertificateFault ` .
pub fn is_invalid_certificate_fault(&self) -> bool {
        matches!(
            &self.kind,
            ImportCertificateErrorKind::InvalidCertificateFault(_)
        )
    }
pub fn is_invalid_certificate_fault ( & self ) -> bool { matches ! ( self kind ImportCertificateErrorKind InvalidCertificateFault ( ) ) }
Returns `true` if the error kind is `ImportCertificateErrorKind::InvalidCertificateFault`.
Returns ` true ` if the error kind is ` ImportCertificateErrorKind :: InvalidCertificateFault ` .
&self
&self