You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//! This library provides two core traits for interacting with Redis message queues:
14
+
//!
15
+
//! - [`RsmqConnection`]: The async trait that defines all queue operations. Must be imported with `use rsmq_async::RsmqConnection;`
16
+
//! - [`RsmqConnectionSync`]: The synchronous version of the trait, available with the "sync" feature. Must be imported with `use rsmq_async::RsmqConnectionSync;`
17
+
//!
18
+
//! ## Implementations
19
+
//!
20
+
//! Three main implementations are provided:
21
+
//!
22
+
//! - [`Rsmq`]: The preferred implementation using a multiplexed Redis connection
23
+
//! - [`PooledRsmq`]: Uses a connection pool for large messages
24
+
//! - [`RsmqSync`]: A synchronous wrapper (requires "sync" feature)
25
+
//!
11
26
//! ## Example
12
27
//!
13
28
//! ```rust
@@ -24,10 +39,6 @@
24
39
//!
25
40
//! ```
26
41
//!
27
-
//! Main object documentation are in: [`Rsmq`] and[`PooledRsmq`] and they both implement the trait
28
-
//! [`RsmqConnection`] where you can see all the RSMQ methods. Make sure you always import the trait
0 commit comments