Expand description
Implement a concrete type to build channels over a transport.
Re-exportsยง
use async_trait::async_trait;๐use futures::AsyncRead;๐use futures::AsyncWrite;๐use std::io;๐use std::sync::Arc;๐use std::sync::Mutex;๐use std::time::Duration;๐use tracing::instrument;๐use tracing::instrument;๐use crate::factory::BootstrapReporter;๐use crate::factory::ChannelFactory;๐use crate::factory::IncomingChannelFactory;๐use crate::transport::TransportImplHelper;๐use crate::Error;๐use crate::event::ChanMgrEventSender;๐use safelog::MaybeSensitive;๐use tor_basic_utils::rand_hostname;๐use tor_error::internal;๐use tor_linkspec::ChanTarget;๐use tor_linkspec::HasChanMethod;๐use tor_linkspec::IntoOwnedChanTarget;๐use tor_linkspec::OwnedChanTarget;๐use tor_proto::channel::ChannelType;๐use tor_proto::channel::kist::KistParams;๐use tor_proto::channel::params::ChannelPaddingInstructionsUpdates;๐use tor_proto::memquota::ChannelAccount;๐use tor_proto::peer::PeerAddr;๐use tor_rtcompat::SpawnExt;๐use tor_rtcompat::CertifiedConn;๐use tor_rtcompat::Runtime;๐use tor_rtcompat::StreamOps;๐use tor_rtcompat::TlsProvider;๐use tor_rtcompat::tls::TlsConnector;๐use crate::mgr::ChannelBandwidthPools;๐use safelog::Sensitive;๐use std::net::SocketAddr;๐use tor_async_utils::global_rate_limit::GlobalRateLimitedConn;๐use tor_error::bad_api_usage;๐use tor_proto::RelayChannelAuthMaterial;๐use tor_proto::relay::CreateRequestHandler;๐
Structsยง
- Chan
Builder - TLS-based channel builder.