Is there any way to use TopicFilter in user code? #115
Unanswered
Antiarchitect
asked this question in
Q&A
Replies: 4 comments
-
matches_topic/filter methods are public. i am not sure about is_valid, you can create topic filter with TryFrom and FromStr traits |
Beta Was this translation helpful? Give feedback.
0 replies
-
I see they're marked as public, but I don't know how to use them properly. Now I have:
and got:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
use ntex_mqtt::TopicFilter |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you @fafhrd91 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use TopicFilter and associated functions like
is_valid
andmatches_topic
in order to match my Subscriptions filter against incoming events topics. Could this module be public or there is another way?Beta Was this translation helpful? Give feedback.
All reactions