Expand description
Code to define the notion of a “Transport” and implement a default transport.
Re-exports§
use async_trait::async_trait;🔒use futures::AsyncRead;🔒use futures::AsyncWrite;🔒use tor_linkspec::OwnedChanTarget;🔒pub(crate) use default::DefaultTransport;🔒pub use proxied::ExternalProxyPlugin;pub use proxied::ProxyError;use tor_proto::peer::PeerAddr;🔒use tor_rtcompat::StreamOps;🔒
Modules§
- default 🔒
- Implement the default transport, which opens TCP connections using a happy-eyeballs style parallel algorithm.
- proxied
- Connect to relays via a proxy.
Traits§
- Transport
Impl Helper - A convenient API for defining transports for use in Tor and elsewhere.