azure_iot_operations_mqtt::topic

Function topic_matches

Source
pub fn topic_matches(topic_name: &TopicName, topic_filter: &TopicFilter) -> bool
Expand description

Check if the given TopicName is a match for the given TopicFilter

ยงArguments

  • topic_name - The MQTT topic name
  • topic_filter - The MQTT topic filter