diff --git a/lib/bus/redis/stream/mod.rs b/lib/bus/redis/stream/mod.rs index 3f6e058..8e5f6ae 100644 --- a/lib/bus/redis/stream/mod.rs +++ b/lib/bus/redis/stream/mod.rs @@ -8,6 +8,11 @@ use { pub trait StreamMsg: Clone + Send + Sync + 'static {} +impl StreamMsg for String {} +impl StreamMsg for Vec {} +impl StreamMsg for serde_json::Value {} +impl StreamMsg for serde_json::Map {} + // TODO: move this to a separate module, or maybe to the lool library pub struct SourceStream { sender: Option>,