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