Struct hive_pubsub::backend::redis::RedisPubSub[][src]

pub struct RedisPubSub<'a, K: Clone + Eq + Hash, V: Clone + Eq + Hash + DeserializeOwned + Serialize, D: DeserializeOwned + Serialize> {
    pub hive: Hive<K, V, D>,
    // some fields omitted
}
This is supported on crate feature redis-backend only.
Expand description

Redis pubsub

Fields

hive: Hive<K, V, D>

Implementations

Subscribe to all incoming data.

Set the id of this source.

Used for testing.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Remove a client from the Hive.

Remove a topic from the hive.

Add a subscription to a topic.

Add several subscriptions to a topic.

Remove a subscription to a topic.

Remove several subscriptions to a topic.

Publish a message for a topic in the Hive.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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