Expand description
Module exposing types for representing circuits in the tunnel reactor.
Re-exportsΒ§
use crate::channel::Channel;πuse crate::circuit::cell_sender::CircuitCellSender;πuse crate::circuit::celltypes::CreateResponse;πuse crate::circuit::circhop::HopSettings;πuse crate::circuit::circhop::ReactorStreamComponents;πuse crate::circuit::create::Create2Wrap;πuse crate::circuit::create::CreateFastWrap;πuse crate::circuit::create::CreateHandshakeWrap;πuse crate::circuit::padding::CircPaddingDisposition;πuse crate::circuit::CircuitRxReceiver;πuse crate::circuit::UniqId;πuse crate::client::circuit::handshake::BoxedClientLayer;πuse crate::client::circuit::handshake::HandshakeRole;πuse crate::client::circuit::padding;πuse crate::client::circuit::padding::PaddingController;πuse crate::client::circuit::padding::PaddingEventStream;πuse crate::client::circuit::padding::QueuedCellPaddingInfo;πuse crate::client::circuit::ClientCircChanMsg;πuse crate::client::circuit::MutableState;πuse crate::client::circuit::path;πuse crate::client::reactor::MetaCellDisposition;πuse crate::congestion::CongestionSignals;πuse crate::congestion::sendme;πuse crate::crypto::binding::CircuitBinding;πuse crate::crypto::cell::HopNum;πuse crate::crypto::cell::InboundClientCrypt;πuse crate::crypto::cell::InboundClientLayer;πuse crate::crypto::cell::OutboundClientCrypt;πuse crate::crypto::cell::OutboundClientLayer;πuse crate::crypto::cell::RelayCellBody;πuse crate::crypto::handshake::fast::CreateFastClient;πuse crate::crypto::handshake::ntor::NtorClient;πuse crate::crypto::handshake::ntor::NtorPublicKey;πuse crate::crypto::handshake::ntor_v3::NtorV3Client;πuse crate::crypto::handshake::ntor_v3::NtorV3PublicKey;πuse crate::crypto::handshake::ClientHandshake;πuse crate::crypto::handshake::KeyGenerator;πuse crate::memquota::CircuitAccount;πuse crate::memquota::SpecificAccount as _;πuse crate::memquota::StreamAccount;πuse crate::stream::cmdcheck::AnyCmdChecker;πuse crate::stream::cmdcheck::StreamStatus;πuse crate::stream::flow_ctrl::state::WithSidechannelMitigations;πuse crate::stream::msg_streamid;πuse crate::streammap;πuse crate::tunnel::TunnelScopedCircId;πuse crate::util::err::ReactorError;πuse crate::util::timeout::TimeoutEstimator;πuse crate::ClockSkew;πuse crate::Error;πuse crate::Result;πuse tor_async_utils::SinkTrySend as _;πuse tor_async_utils::SinkTrySendError as _;πuse tor_basic_utils::onionperf_types::OnionperfCircuitStatus;πuse tor_basic_utils::onionperf_types::OnionperfEvent;πuse tor_cell::chancell::msg::AnyChanMsg;πuse tor_cell::chancell::msg::HandshakeType;πuse tor_cell::chancell::msg::Relay;πuse tor_cell::chancell::AnyChanCell;πuse tor_cell::chancell::ChanCmd;πuse tor_cell::chancell::CircId;πuse tor_cell::chancell::BoxedCellBody;πuse tor_cell::chancell::ChanMsg;πuse tor_cell::relaycell::msg::AnyRelayMsg;πuse tor_cell::relaycell::msg::End;πuse tor_cell::relaycell::msg::Sendme;πuse tor_cell::relaycell::msg::SendmeTag;πuse tor_cell::relaycell::msg::Truncated;πuse tor_cell::relaycell::AnyRelayMsgOuter;πuse tor_cell::relaycell::RelayCellDecoderResult;πuse tor_cell::relaycell::RelayCellFormat;πuse tor_cell::relaycell::RelayCmd;πuse tor_cell::relaycell::StreamId;πuse tor_cell::relaycell::UnparsedRelayMsg;πuse tor_error::Bug;πuse tor_error::internal;πuse tor_linkspec::RelayIds;πuse tor_llcrypto::pk;πuse web_time_compat::Duration;πuse web_time_compat::Instant;πuse web_time_compat::SystemTime;πuse futures::SinkExt as _;πuse oneshot_fused_workaround as oneshot;πuse tor_rtcompat::DynTimeProvider;πuse tor_rtcompat::SleepProvider as _;πuse tracing::debug;πuse tracing::instrument;πuse tracing::instrument;πuse tracing::trace;πuse tracing::warn;πuse super::CellHandlers;πuse super::CircuitHandshake;πuse super::CloseStreamBehavior;πuse super::ReactorResultChannel;πuse super::SendRelayCell;πuse crate::conflux::msghandler::ConfluxStatus;πuse std::borrow::Borrow;πuse std::pin::Pin;πuse std::result::Result as StdResult;πuse std::sync::Arc;πuse extender::HandshakeAuxDataHandler;πuse crate::circuit::CircHopSyncView;πuse crate::stream::InboundDataCmdChecker;πuse crate::stream::IncomingStreamRequest;πuse tor_cell::relaycell::msg::Begin;πuse crate::conflux::msghandler::ConfluxAction;πuse crate::conflux::msghandler::ConfluxCmd;πuse crate::conflux::msghandler::ConfluxMsgHandler;πuse crate::conflux::msghandler::OooRelayMsg;πuse crate::tunnel::TunnelId;πpub(super) use circhop::CircHop;πpub(super) use circhop::CircHopList;πpub(super) use unsupported_client_cell;π
ModulesΒ§
- circhop π
- Module exposing structures relating to the reactorβs view of a circuitβs hops.
- extender π
- Module providing
CircuitExtender.
MacrosΒ§
- unsupported_
client_ πcell - Return a
CircProtoerror for the specified unsupported cell.
StructsΒ§
- Circuit π
- A circuit βlegβ from a tunnel.
EnumsΒ§
- Circuit
Cmd π - A command to run in response to a circuit event.