pub async fn mount(
extensions: &mut Extensions,
predicate: impl Fn(&FatRequest) -> bool + Send + Sync + 'static,
log_file_name: impl Into<String>,
commit_interval: Duration,
accept_same_ip_interval: Duration,
) -> ViewCount
Available on crate feature
view-counter
only.