Struct varnishslog::store::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
pub fn new(
max_slots: usize,
max_epoch_diff: u64,
evict_factor: f32,
stat_epoch_interval: Option<u64>,
epoch_source: Option<fn(_: Wrapping<u64>) -> Wrapping<u64>>
) -> Result<Config, ConfigError>
[src]
max_slots: usize,
max_epoch_diff: u64,
evict_factor: f32,
stat_epoch_interval: Option<u64>,
epoch_source: Option<fn(_: Wrapping<u64>) -> Wrapping<u64>>
) -> Result<Config, ConfigError>
Trait Implementations
impl Debug for Config
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more