Expand description
Types and functions to configure a Tor client.
Some of these are re-exported from lower-level crates.
Re-exports§
- pub use tor_config::mistrust::BuilderExt as _;
Modules§
- circ
- Types for configuring how Tor circuits are built.
- dir
- Types for configuring how Tor accesses its directory information.
- onion_service onion-service-service
- Types for configuring onion services.
- ptpt-client
- Types for configuring pluggable transports.
- vanguards
- Types for configuring vanguards.
Macros§
- convert_helper_ via_ multi_ line_ list_ builder 
- Implement TryFrom<MultilineListBuilder>andInto<MultilineListBuilder>for $Builder.
- define_list_ builder_ accessors 
- Define accessor methods for a configuration item which is a list
- define_list_ builder_ helper 
- Define a list builder struct for use with define_list_builder_accessors
- impl_standard_ builder 
- Defines standard impls for a struct with a Builder, inclDefault
Structs§
- BridgeConfig Builder 
- Builder for a BridgeConfig.
- BridgesConfig 
- Configuration for anti-censorship features: bridges and pluggable transports.
- BridgesConfig Builder 
- Builder for BridgesConfig.
- CfgPath
- A path in a configuration file: tilde expansion is performed, along
with expansion of variables provided by a CfgPathResolver.
- CfgPathResolver 
- A variable resolver for paths in a configuration file.
- ChannelConfig 
- Channel configuration
- ChannelConfig Builder 
- Builder for ChannelConfig.
- ClientAddr Config 
- Configuration for client behavior relating to addresses.
- ClientAddr Config Builder 
- Builder for ClientAddrConfig.
- ConfigurationSources 
- A description of where to find our configuration options.
- MultilineList Builder Error 
- Error from trying to parse a MultilineListBuilder as a list of particular items
- PtTransportName 
- The name of a Pluggable Transport protocol.
- SoftwareStatus Override Config 
- Configuration for overriding the status of our software.
- SoftwareStatus Override Config Builder 
- Builder for SoftwareStatusOverrideConfig.
- StorageConfig 
- Configuration for where information should be stored on disk.
- StorageConfig Builder 
- Builder for StorageConfig.
- StreamTimeout Config 
- Configuration for client behavior relating to stream connection timeouts
- StreamTimeout Config Builder 
- Builder for StreamTimeoutConfig.
- SystemConfig 
- Configuration for system resources used by Tor.
- SystemConfig Builder 
- Builder for SystemConfig.
- TorClientConfig 
- A configuration used to bootstrap a TorClient.
- TorClientConfig Builder 
- Builder for TorClientConfig.
- TransportConfig List Builder 
- Wrapper struct to help derive_builder find the right types and methods
- TransportId 
- Identify a type of Transport.
Enums§
- BoolOrAuto 
- Boolean, but with additional "auto"option
- BridgeParse Error bridge-client
- Error when parsing a bridge line from a string
- CfgPathError 
- An error that has occurred while expanding a path.
- ChannelMethod 
- The way to approach a single relay in order to open a channel.
- ConfigBuild Error 
- An error related to an option passed to Arti via a configuration builder.
- ConfigError 
- An error that occurs while trying to read and process our configuration.
- ConfigurationSource 
- A configuration file or directory, for use by a ConfigurationSources
- MultilineList Builder 
- Configuration item specifiable as a list, or a single multi-line string
- Reconfigure
- Rules for reconfiguring a running Arti instance.
Constants§
- FS_PERMISSIONS_ CHECKS_ DISABLE_ VAR Deprecated 
- The environment variable we look at when deciding whether to disable FS permissions checking.
Traits§
- HasChanMethod 
- An object that can be connected to via ChannelMethods.
Functions§
- default_config_ files 
- Return the filenames for the default user configuration files
- fs_permissions_ checks_ disabled_ via_ env Deprecated 
- Return true if the environment has been set up to disable FS permissions checking.
Type Aliases§
- BridgeList 
- List of configured bridges, as found in the built configuration