pub trait WaitingLimitsSetters: Holds<WaitingLimits> + Sized {
// Required methods
fn per_source(self, value: usize) -> Self;
fn total(self, value: usize) -> Self;
fn rerecord(self, value: impl Into<Duration>) -> Self;
}Expand description
The typed setters of WaitingLimits, for any builder that holds its settings.
Required Methods§
Sourcefn per_source(self, value: usize) -> Self
fn per_source(self, value: usize) -> Self
Entries one source may hold; past it, a newcomer is refused unless the store says otherwise
(WhenFull). A source is an IPv4 address, or an IPv6 prefix
(/64 by default).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".