Expand description
Types for conveniently constructing TorClients.
Re-exportsยง
use crate::BootstrapBehavior;๐use crate::InertTorClient;๐use crate::Result;๐use crate::TorClient;๐use crate::TorClientConfig;๐use crate::err::ErrorDetail;๐use std::result::Result as StdResult;๐use std::sync::Arc;๐use tor_dirmgr::DirMgrConfig;๐use tor_dirmgr::DirMgrStore;๐use tor_error::ErrorKind;๐use tor_error::HasKind as _;๐use tor_rtcompat::Runtime;๐use tracing::instrument;๐use tracing::instrument;๐use web_time_compat::Duration;๐use web_time_compat::Instant;๐use web_time_compat::InstantExt;๐
Structsยง
- DirMgr
Builder ๐ - A DirProviderBuilder that constructs a regular DirMgr.
- TorClient
Builder - An object for constructing a
TorClient.
Constantsยง
- MAX_
LOCAL_ RESOURCE_ TIMEOUT - Longest allowable duration to wait for local resources to be available when creating a TorClient.
Traitsยง
- DirProvider
Builder - An object that knows how to construct some kind of DirProvider.