Skip to main content

Module control

Module control 

Source
Expand description

Module providing CtrlMsg.

Re-exportsยง

use super::circuit::extender::CircuitExtender; ๐Ÿ”’
use super::CircuitHandshake; ๐Ÿ”’
use super::CloseStreamBehavior; ๐Ÿ”’
use super::MetaCellHandler; ๐Ÿ”’
use super::Reactor; ๐Ÿ”’
use super::ReactorResultChannel; ๐Ÿ”’
use super::RunOnceCmdInner; ๐Ÿ”’
use super::SendRelayCell; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use crate::circuit::celltypes::CreateResponse; ๐Ÿ”’
use crate::circuit::circhop::HopSettings; ๐Ÿ”’
use crate::circuit::circhop::ReactorStreamComponents; ๐Ÿ”’
use crate::client::circuit::padding; ๐Ÿ”’
use crate::client::circuit::path; ๐Ÿ”’
use crate::client::reactor::NoJoinPointError; ๐Ÿ”’
use crate::client::reactor::NtorClient; ๐Ÿ”’
use crate::client::reactor::ReactorError; ๐Ÿ”’
use crate::client::HopLocation; ๐Ÿ”’
use crate::client::TargetHop; ๐Ÿ”’
use crate::crypto::binding::CircuitBinding; ๐Ÿ”’
use crate::crypto::cell::InboundClientLayer; ๐Ÿ”’
use crate::crypto::cell::OutboundClientLayer; ๐Ÿ”’
use crate::crypto::handshake::ntor_v3::NtorV3Client; ๐Ÿ”’
use crate::crypto::handshake::ntor_v3::NtorV3PublicKey; ๐Ÿ”’
use crate::memquota::StreamAccount; ๐Ÿ”’
use crate::stream::cmdcheck::AnyCmdChecker; ๐Ÿ”’
use crate::streammap; ๐Ÿ”’
use crate::util::skew::ClockSkew; ๐Ÿ”’
use crate::util::tunnel_activity::TunnelActivity; ๐Ÿ”’
use tor_cell::chancell::msg::HandshakeType; ๐Ÿ”’
use tor_cell::relaycell::flow_ctrl::XonKBpsEwma; ๐Ÿ”’
use tor_cell::relaycell::msg::AnyRelayMsg; ๐Ÿ”’
use tor_cell::relaycell::msg::Sendme; ๐Ÿ”’
use tor_cell::relaycell::AnyRelayMsgOuter; ๐Ÿ”’
use tor_cell::relaycell::RelayCellFormat; ๐Ÿ”’
use tor_cell::relaycell::StreamId; ๐Ÿ”’
use tor_error::Bug; ๐Ÿ”’
use tor_error::bad_api_usage; ๐Ÿ”’
use tor_error::internal; ๐Ÿ”’
use tor_error::into_bad_api_usage; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use tracing::trace; ๐Ÿ”’
use crate::client::reactor::IncomingStreamRequestHandler; ๐Ÿ”’
use crate::stream::IncomingStreamRequestFilter; ๐Ÿ”’
use crate::stream::incoming::StreamReqSender; ๐Ÿ”’
use super::Circuit; ๐Ÿ”’
use super::ConfluxLinkResultChannel; ๐Ÿ”’
use oneshot_fused_workaround as oneshot; ๐Ÿ”’
use crate::crypto::handshake::ntor::NtorPublicKey; ๐Ÿ”’
use tor_linkspec::EncodedLinkSpec; ๐Ÿ”’
use tor_linkspec::OwnedChanTarget; ๐Ÿ”’
use std::result::Result as StdResult; ๐Ÿ”’

Structsยง

ControlHandler ๐Ÿ”’
A control message handler object. Keep a reference to the Reactor tying its lifetime to it.

Enumsยง

CtrlCmd ๐Ÿ”’
A message telling the reactor to do something.
CtrlMsg ๐Ÿ”’
A message telling the reactor to do something.
FlowCtrlMsg ๐Ÿ”’
A flow control update message.