Enum nng::options::protocol::pubsub::Unsubscribe[][src]

pub enum Unsubscribe {}

Remove a topic from the subscription list.

Note that if the topic was not previously subscribed via the Subscribe option, then using this option will result in ErrorKind::EntryNotFound.

Support

  • Sockets can set this option when using the Sub v0 protocol.

Trait Implementations

impl Clone for Unsubscribe[src]

impl Copy for Unsubscribe[src]

impl Debug for Unsubscribe[src]

impl Display for Unsubscribe[src]

impl Eq for Unsubscribe[src]

impl Hash for Unsubscribe[src]

impl Opt for Unsubscribe[src]

type OptType = Vec<u8>

The type that the option read and writes.

impl Ord for Unsubscribe[src]

impl PartialEq<Unsubscribe> for Unsubscribe[src]

impl PartialOrd<Unsubscribe> for Unsubscribe[src]

impl SetOpt<Unsubscribe> for Socket[src]

impl StructuralEq for Unsubscribe[src]

impl StructuralPartialEq for Unsubscribe[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.