Module validation

Module validation 

Source

Modules§

namespace

Structs§

RestrictiveValidator
Restrictive validator with additional constraints
StandardValidator
Standard MQTT specification validator

Traits§

TopicValidator
Trait for pluggable topic validation

Functions§

is_valid_client_id
Validates an MQTT client identifier according to MQTT v5.0 specification
is_valid_topic_filter
Validates an MQTT topic filter according to MQTT v5.0 specification
is_valid_topic_name
Validates an MQTT topic name according to MQTT v5.0 specification
topic_matches_filter
Checks if a topic name matches a topic filter
validate_client_id
Validates a client ID and returns an error if invalid
validate_topic_filter
Validates a topic filter and returns an error if invalid
validate_topic_name
Validates a topic name and returns an error if invalid