Skip to main content

Module tor

Module tor 

Source
Expand description

Tor client implementation using arti

Re-exports§

pub use actions::TorClientProtocol;

Modules§

actions
Tor client protocol actions implementation

Structs§

RelayFilter
Relay filter criteria for directory queries
RelayInfo
Simplified relay information for LLM
TorClient
Tor client that connects through the Tor network

Enums§

BootstrapTarget
Where a Tor client is allowed to bootstrap from.

Constants§

ALLOW_PUBLIC_TOR_NETWORK_PARAM
Startup parameter that opts a Tor client in to the public Tor network.

Functions§

apply_actions
Carry out what the model answered with. Returns true if it asked to disconnect.
bootstrap_target
Decide what connect() may bootstrap against, and refuse rather than reach the internet.