Struct mqtt::topic_name::TopicName [] [src]

pub struct TopicName(_);

Methods

impl TopicName
[src]

Creates a new topic name from string Return error if the string is not a valid topic name

Creates a new topic name from string without validation

Methods from Deref<Target = TopicNameRef>

Check if this topic name is only for server.

Topic names that beginning with a '$' character are reserved for servers

Trait Implementations

impl Debug for TopicName
[src]

Formats the value using the given formatter.

impl Eq for TopicName
[src]

impl PartialEq for TopicName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for TopicName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Into<String> for TopicName
[src]

Performs the conversion.

impl Deref for TopicName
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a> Encodable<'a> for TopicName
[src]

Encodes to writer

Length of bytes after encoded

impl<'a> Decodable<'a> for TopicName
[src]

Decodes object with additional data (or hints)

Decodes object from reader