Struct rumqttc_async_std::v4::SubscribeFilter[][src]

pub struct SubscribeFilter {
    pub path: String,
    pub qos: QoS,
    pub nolocal: bool,
    pub preserve_retain: bool,
    pub retain_forward_rule: RetainForwardRule,
}

Subscription filter

Fields

path: Stringqos: QoSnolocal: boolpreserve_retain: boolretain_forward_rule: RetainForwardRule

Implementations

impl SubscribeFilter[src]

pub fn new(path: String, qos: QoS) -> SubscribeFilter[src]

pub fn set_nolocal(&mut self, flag: bool) -> &mut SubscribeFilter[src]

pub fn set_preserve_retain(&mut self, flag: bool) -> &mut SubscribeFilter[src]

pub fn set_retain_forward_rule(
    &mut self,
    rule: RetainForwardRule
) -> &mut SubscribeFilter
[src]

pub fn len(&self) -> usize[src]

Trait Implementations

impl Clone for SubscribeFilter[src]

impl Debug for SubscribeFilter[src]

impl PartialEq<SubscribeFilter> for SubscribeFilter[src]

impl StructuralPartialEq for SubscribeFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,