Expand description
Support for identifying a particular transport.
A “transport” is a mechanism to connect to a relay on the Tor network and
make a Channel
. Currently, two types of transports exist: the “built-in”
transport, which uses TLS over TCP, and various anti-censorship “pluggable
transports”, which use TLS over other protocols to avoid detection by
censors.
Structs§
- Bridge
Addr - An address of a bridge, for use in configuration.
- PtTarget
- The set of information passed to the pluggable transport subsystem in order to establish a connection to a bridge relay.
- PtTarget
Settings - A set of options to be passed along to a pluggable transport along with a single target bridge relay.
- PtTransport
Name - The name of a Pluggable Transport protocol.
- Transport
Id - Identify a type of Transport.
Enums§
- Bridge
Addr Error - An error from parsing a
BridgeAddr
orPtTargetAddr
. - Bridge
Addr 🔒Inner BridgeAddr
contents; type parameters allow use with references to avoid some copying- Channel
Method - The way to approach a single relay in order to open a channel.
- Inner 🔒
- Helper type to implement
TransportId
. - PtTarget
Addr - An address that an be passed to a pluggable transport to tell it where to connect (typically, to a bridge).
- PtTarget
Invalid Setting - Invalid PT parameter setting
- Retain
Addrs Error - An error that occurred while filtering addresses from a ChanMethod.
- Transport
IdError - An error related to parsing a TransportId.
Constants§
- BUILT_
IN_ 🔒IDS - These identifiers are used to indicate the built-in transport.
- NONE_
ADDR 🔒 - This identifier is used to indicate no transport address.
Functions§
- is_
well_ 🔒formed_ id - Return true if
s
is a well-formed transport ID.