Expand description
Handler for CREATE* cells.
Re-exportsΒ§
use crate::FlowCtrlParameters;πuse crate::ccparams::AlgorithmDiscriminants;πuse crate::ccparams::CongestionWindowParams;πuse crate::ccparams::FixedWindowParams;πuse crate::ccparams::RoundTripEstimatorParams;πuse crate::ccparams::VegasParams;πuse crate::channel::Channel;πuse crate::circuit::celltypes::CreateRequest;πuse crate::circuit::celltypes::CreateResponse;πuse crate::circuit::circhop::HandshakeParamsError;πuse crate::circuit::circhop::HopSettings;πuse crate::circuit::CircuitRxSender;πuse crate::circuit::HandshakeSubprotocols;πuse crate::circuit::InvalidHandshakeSubprotocolError;πuse crate::circuit::UniqId;πuse crate::client::circuit::padding::PaddingController;πuse crate::crypto::binding::CircuitBinding;πuse crate::crypto::cell::CryptInit as _;πuse crate::crypto::cell::CgoRelayCrypto;πuse crate::crypto::cell::InboundRelayLayer;πuse crate::crypto::cell::OutboundRelayLayer;πuse crate::crypto::cell::RelayLayer;πuse crate::crypto::cell::Tor1RelayCrypto;πuse crate::crypto::handshake::RelayHandshakeError;πuse crate::crypto::handshake::ServerHandshake as _;πuse crate::crypto::handshake::fast::CreateFastServer;πuse crate::crypto::handshake::ntor::NtorServer;πuse crate::crypto::handshake::ntor::NtorServerKeys;πuse crate::crypto::handshake::ntor_v3::NtorV3Server;πuse crate::crypto::handshake::ntor_v3::NtorV3ServerKeys;πuse crate::memquota::SpecificAccount as _;πuse crate::memquota::ChannelAccount;πuse crate::memquota::CircuitAccount;πuse crate::relay::channel_provider::ChannelProvider;πuse crate::relay::reactor::Reactor;πuse crate::relay::IncomingStreamRequestFilter;πuse crate::relay::RelayCirc;πuse crate::stream::IncomingStream;πuse futures::channel::mpsc;πuse futures::SinkExt;πuse futures::Stream;πuse smallvec::SmallVec;πuse std::sync::Arc;πuse std::sync::RwLock;πuse std::sync::Weak;πuse tor_cell::chancell::ChanMsg as _;πuse tor_cell::chancell::CircId;πuse tor_cell::chancell::msg::CreateFast;πuse tor_cell::chancell::msg::Created2;πuse tor_cell::chancell::msg::CreatedFast;πuse tor_cell::chancell::msg::Destroy;πuse tor_cell::chancell::msg::DestroyReason;πuse tor_cell::chancell::msg::HandshakeType;πuse tor_cell::relaycell::RelayCmd;πuse tor_cell::relaycell::extend::CcRequest;πuse tor_cell::relaycell::extend::CcResponse;πuse tor_cell::relaycell::extend::CircRequestExt;πuse tor_cell::relaycell::extend::CircResponseExt;πuse tor_cell::relaycell::extend::SubprotocolRequest;πuse tor_error::ErrorKind;πuse tor_error::HasKind;πuse tor_error::debug_report;πuse tor_error::internal;πuse tor_error::into_internal;πuse tor_error::warn_report;πuse tor_linkspec::OwnedChanTarget;πuse tor_llcrypto::pk::curve25519;πuse tor_llcrypto::pk::ed25519::Ed25519Identity;πuse tor_llcrypto::pk::rsa::RsaIdentity;πuse tor_memquota::mq_queue::ChannelSpec as _;πuse tor_memquota::mq_queue::MpscSpec;πuse tor_relay_crypto::pk::RelayNtorKeypair;πuse tor_relay_crypto::pk::RelayNtorKeys;πuse tor_rtcompat::SpawnExt as _;πuse tor_rtcompat::DynTimeProvider;πuse tor_rtcompat::Runtime;πuse tracing::debug;πuse tracing::trace;π
StructsΒ§
- Circ
NetParameters - Network consensus parameters for handling incoming circuits.
- Circuit
Incoming Stream Receiver - A receiver of
Streams (one for each incoming circuit), where eachStreamproducesIncomingStreams for that circuit. - Completed
Handshake πComponents - The components of a completed CREATE* handshake.
- Congestion
Control NetParams - Congestion control network parameters.
- Create
Request Handler - Everything needed to handle CREATE* messages on channels.
- Ntor
Secret πKey - The serverβs RSA identity and ntor keypair.
- Ntor
V3Secret πKey - The serverβs Ed25519 identity and ntor keypair.
- Relay
Circ πComponents - A collection of objects built for a new relay circuit.
EnumsΒ§
- Handle
Create πError - An error that occurred while handling a CREATE* request.
TraitsΒ§
- Incoming
Stream Request Filter Factory - An
IncomingStreamRequestFilterfactory for buildingIncomingStreamRequestFilters.
FunctionsΒ§
- split_
relay_ πlayer - Helper function to split a
RelayLayerinto forward and backward type-erased trait objects.