pub struct RedisSetLimiterOptions {
pub cache_vacuum_interval: Duration,
}
Expand description
Configuration options for the RedisSetLimiter
.
Fields§
§cache_vacuum_interval: Duration
Cache vacuum interval for the in memory cache.
The cache will scan for expired values based on this interval.
Auto Trait Implementations§
impl Freeze for RedisSetLimiterOptions
impl RefUnwindSafe for RedisSetLimiterOptions
impl Send for RedisSetLimiterOptions
impl Sync for RedisSetLimiterOptions
impl Unpin for RedisSetLimiterOptions
impl UnwindSafe for RedisSetLimiterOptions
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