pub struct RedisBundle {
pub rate_limiter: Arc<RedisRateLimiter>,
pub kv: Arc<RedisKv>,
}Expand description
Both Redis ports over one shared connection, what a venture gets from
REDIS_URL when it is set.
Fields§
§rate_limiter: Arc<RedisRateLimiter>§kv: Arc<RedisKv>Auto Trait Implementations§
impl !RefUnwindSafe for RedisBundle
impl !UnwindSafe for RedisBundle
impl Freeze for RedisBundle
impl Send for RedisBundle
impl Sync for RedisBundle
impl Unpin for RedisBundle
impl UnsafeUnpin for RedisBundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more