Function hive_pubsub::backend::redis::publish [−][src]
pub async fn publish<'a, K, V, D>(
pubsub: &RedisPubSub<'a, K, V, D>,
topic: V,
data: D
) -> Result<(), String> where
K: Clone + Eq + Hash,
V: Clone + Eq + Hash + DeserializeOwned + Serialize + Sync + ToRedisArgs + Send,
D: DeserializeOwned + Serialize,
This is supported on crate feature
redis-backend
only.