Function tor_circmgr::timeouts::estimator::estimator_from_storage
source ยท fn estimator_from_storage(
storage: &DynStorageHandle<ParetoTimeoutState>
) -> (bool, Box<dyn TimeoutEstimator + Send + 'static>)
Expand description
Try to construct a new boxed TimeoutEstimator based on the contents of storage, and whether it is read-only.
Returns true on a read-only state.