[−][src]Trait nng_async::protocol::Subscribe
Type of subscribe half in publish/subscribe pattern.
Required methods
fn subscribe(&self, topic: &[u8]) -> Result<()>
Subscribe to a topic.
fn unsubscribe(&self, topic: &[u8]) -> Result<()>
Unsubscribe from a topic.
Provided methods
fn subscribe_str(&self, topic: &str) -> Result<()>
Subscribe to a topic.
fn unsubscribe_str(&self, topic: &str) -> Result<()>
Unsubscribe from a topic.