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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

impl<'a> From<&'a str> for TopicPath
[src]

fn from(str: &'a str) -> TopicPath

Performs the conversion.

impl From<String> for TopicPath
[src]

fn from(path: String) -> TopicPath

Performs the conversion.

impl Into<String> for TopicPath
[src]

fn into(self) -> String

Performs the conversion.

impl ToTopicPath for TopicPath
[src]