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

pub struct TopicName(_);

Topic name

http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718106

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 Into<TopicName> for TopicNameHeader
[src]

Performs the conversion.

impl Debug for TopicName
[src]

Formats the value using the given formatter. Read more

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 Hash for TopicName
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Into<String> for TopicName
[src]

Performs the conversion.

impl Deref for TopicName
[src]

The resulting type after dereferencing.

Dereferences the value.

impl Encodable for TopicName
[src]

Encodes to writer

Length of bytes after encoded

impl Decodable for TopicName
[src]

Decodes object with additional data (or hints)

Decodes object from reader

Auto Trait Implementations

impl Send for TopicName

impl Sync for TopicName