pub struct CardinalityLimiter {
pub cache_vacuum_interval: u64,
}
Expand description
Cardinality Limiter configuration options.
Fields§
§cache_vacuum_interval: u64
Cache vacuum interval in seconds for the in memory cache.
The cache will scan for expired values based on this interval.
Defaults to 180 seconds, 3 minutes.
Trait Implementations§
source§impl Debug for CardinalityLimiter
impl Debug for CardinalityLimiter
source§impl Default for CardinalityLimiter
impl Default for CardinalityLimiter
source§impl<'de> Deserialize<'de> for CardinalityLimiterwhere
CardinalityLimiter: Default,
impl<'de> Deserialize<'de> for CardinalityLimiterwhere
CardinalityLimiter: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CardinalityLimiter
impl RefUnwindSafe for CardinalityLimiter
impl Send for CardinalityLimiter
impl Sync for CardinalityLimiter
impl Unpin for CardinalityLimiter
impl UnwindSafe for CardinalityLimiter
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more