Expand description
Declarations for a TimeoutEstimator type that can change implementation.
Re-exportsยง
use crate::TimeoutStateHandle;๐use crate::timeouts::Action;๐use crate::timeouts::TimeoutEstimator;๐use crate::timeouts::pareto::ParetoTimeoutEstimator;๐use crate::timeouts::pareto::ParetoTimeoutState;๐use crate::timeouts::readonly::ReadonlyTimeoutEstimator;๐use std::sync::Mutex;๐use std::time::Duration;๐use tor_error::warn_report;๐use tor_netdir::params::NetParameters;๐use tracing::debug;๐use tracing::warn;๐
Structsยง
- Estimator ๐
- A timeout estimator that can change its inner implementation and share its implementation among multiple threads.
Functionsยง
- estimator_
from_ ๐storage - Try to construct a new boxed TimeoutEstimator based on the contents of storage, and whether it is read-only.