Struct mqtt::topic_filter::TopicFilter [] [src]

pub struct TopicFilter(_);

Methods

impl TopicFilter
[src]

fn new_checked<S: Into<String>>(topic: S) -> Result<TopicFilterTopicFilterError>

fn new<S: Into<String>>(topic: S) -> TopicFilter

Methods from Deref<Target=TopicFilterRef>

Trait Implementations

impl Clone for TopicFilter
[src]

fn clone(&self) -> TopicFilter

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 PartialEq for TopicFilter
[src]

fn eq(&self, __arg_0: &TopicFilter) -> bool

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

fn ne(&self, __arg_0: &TopicFilter) -> bool

This method tests for !=.

impl Eq for TopicFilter
[src]

impl Debug for TopicFilter
[src]

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

Formats the value using the given formatter.

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

type Err = TopicFilterError

fn encode<W: Write>(&self, writer: &mut W) -> Result<()TopicFilterError>

fn encoded_length(&self) -> u32

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

type Err = TopicFilterError

type Cond = ()

fn decode_with<R: Read>(reader: &mut R, _rest: Option<()>) -> Result<TopicFilterTopicFilterError>

fn decode<R: Read>(reader: &mut R) -> Result<Self, Self::Err>

impl Deref for TopicFilter
[src]

type Target = TopicFilterRef

The resulting type after dereferencing

fn deref(&self) -> &TopicFilterRef

The method called to dereference a value