Struct redis::aio::PubSub [−][src]
pub struct PubSub<C = Pin<Box<dyn AsyncStream + Send + Sync>>>(_);
This is supported on crate feature
aio
only.Expand description
Represents a PubSub
connection.
Implementations
Subscribes to a new channel.
Subscribes to a new channel with a pattern.
Unsubscribes from a channel.
Unsubscribes from a channel with a pattern.
Exits from PubSub
mode and converts PubSub
into Connection
.
Auto Trait Implementations
impl<C = Pin<Box<dyn AsyncStream + Sync + Send + 'static, Global>>> !RefUnwindSafe for PubSub<C>
impl<C = Pin<Box<dyn AsyncStream + Sync + Send + 'static, Global>>> !UnwindSafe for PubSub<C>