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

pub struct TopicName(_);

Methods

impl TopicName
[src]

[src]

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

[src]

Creates a new topic name from string without validation

Methods from Deref<Target = TopicNameRef>

[src]

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]

[src]

Formats the value using the given formatter.

impl Eq for TopicName
[src]

impl PartialEq for TopicName
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for TopicName
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for TopicName
[src]

[src]

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

1.3.0
[src]

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

impl Into<String> for TopicName
[src]

[src]

Performs the conversion.

impl Deref for TopicName
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Encodes to writer

[src]

Length of bytes after encoded

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

[src]

Decodes object with additional data (or hints)

[src]

Decodes object from reader