Skip to main content

Module config

Module config 

Source
Expand description

Configuration logic and types for bridges.

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::fmt::Display; ๐Ÿ”’
use std::iter; ๐Ÿ”’
use std::net::SocketAddr; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use itertools::chain; ๐Ÿ”’
use itertools::chain; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use tor_basic_utils::derive_serde_raw; ๐Ÿ”’
use tor_config::define_list_builder_accessors; ๐Ÿ”’
use tor_config::ConfigBuildError; ๐Ÿ”’
use tor_config::impl_standard_builder; ๐Ÿ”’
use tor_linkspec::RelayId; ๐Ÿ”’
use tor_linkspec::TransportId; ๐Ÿ”’
use tor_linkspec::ChanTarget; ๐Ÿ”’
use tor_linkspec::ChannelMethod; ๐Ÿ”’
use tor_linkspec::HasChanMethod; ๐Ÿ”’
use tor_linkspec::HasAddrs; ๐Ÿ”’
use tor_linkspec::HasRelayIds; ๐Ÿ”’
use tor_linkspec::RelayIdRef; ๐Ÿ”’
use tor_linkspec::RelayIdType; ๐Ÿ”’
use tor_llcrypto::pk::ed25519::Ed25519Identity; ๐Ÿ”’
use tor_llcrypto::pk::rsa::RsaIdentity; ๐Ÿ”’
use tor_linkspec::BridgeAddr; ๐Ÿ”’
use tor_linkspec::PtTarget; ๐Ÿ”’
use tor_linkspec::PtTargetAddr; ๐Ÿ”’
pub use err::BridgeParseError;

Modulesยง

err ๐Ÿ”’
Error when parsing a bridge line from a string

Structsยง

BridgeConfig
A relay not listed on the main tor network, used for anticensorship.
BridgeConfigBuilder
Builder for a BridgeConfig.
BridgeConfigBuilder_Raw ๐Ÿ”’
Inner ๐Ÿ”’
Configuration for a bridge - actual data

Enumsยง

BridgeConfigBuilderSerde ๐Ÿ”’
serde representation of a BridgeConfigBuilder