Struct mini_redis::cmd::Subscribe [−][src]
pub struct Subscribe { /* fields omitted */ }
Expand description
Subscribes the client to one or more channels.
Once the client enters the subscribed state, it is not supposed to issue any other commands, except for additional SUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, PUNSUBSCRIBE, PING and QUIT commands.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subscribe
impl UnwindSafe for Subscribe
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more