Skip to main content

Module config

Module config 

Source
Expand description

Configuration logic for tor-ptmgr.

Re-exportsΒ§

use std::net::SocketAddr; πŸ”’
use derive_deftly::Deftly; πŸ”’
use tor_config::ConfigBuildError; πŸ”’
use tor_config_path::CfgPath; πŸ”’
use tor_linkspec::PtTransportName; πŸ”’
use crate::PtClientMethod; πŸ”’
use tor_socksproto::SocksVersion; πŸ”’
use tor_config::derive::prelude::*; πŸ”’

StructsΒ§

ManagedTransportOptions πŸ”’
A pluggable transport that is run as an external process that we launch and monitor.
TransportConfig
A single pluggable transport.
TransportConfigBuilder
A builder to create an instance of TransportConfig.
UnmanagedTransportOptions πŸ”’
A pluggable transport running on a local port, not controlled by Arti.

EnumsΒ§

TransportOptions πŸ”’
The pluggable transport structure used internally. This is more type-safe than working with TransportConfig directly, since we can’t change TransportConfig as it’s part of the public API.