Struct mosquitto_client::TopicMatcher [] [src]

pub struct TopicMatcher<'a> {
    pub mid: i32,
    // some fields omitted
}

Matching subscription topics. Returned from Mosquitto::subscribe.

Fields

the subscription id.

Methods

impl<'a> TopicMatcher<'a>
[src]

[src]

true if a message matches a subscription topic

[src]

receive and return messages matching this topic, until timeout

[src]

receive and return exactly one message matching this topic