Struct mqtt3::TopicPath
[−]
[src]
pub struct TopicPath { pub path: String, pub wildcards: bool, // some fields omitted }
Fields
path: String
wildcards: bool
Methods
impl TopicPath
[src]
fn path(&self) -> String
fn get(&self, index: usize) -> Option<&Topic>
fn get_mut(&mut self, index: usize) -> Option<&mut Topic>
fn len(&self) -> usize
fn is_final(&self, index: usize) -> bool
fn is_multi(&self, index: usize) -> bool
fn from_str<T: AsRef<str>>(path: T) -> Result<TopicPath>
Trait Implementations
impl Clone for TopicPath
[src]
fn clone(&self) -> TopicPath
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TopicPath
[src]
impl IntoIterator for TopicPath
[src]
type Item = Topic
The type of the elements being iterated over.
type IntoIter = IntoIter<Topic>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more