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