Expand description
RPC support for client tor-proto objects.
Re-exportsΒ§
use std::collections::HashMap;πuse std::net::SocketAddr;πuse std::sync::Arc;πuse derive_deftly::Deftly;πuse tor_linkspec::HasAddrs;πuse tor_linkspec::HasRelayIds;πuse tor_llcrypto::pk;πuse tor_rpcbase as rpc;πuse tor_rpcbase::SingleIdResponse;πuse crate::ClientTunnel;πuse crate::client::stream::ClientDataStreamCtrl;πuse crate::client::stream::ClientStreamCtrl;π
StructsΒ§
- Describe
Path - RPC method to describe the path for an object.
- GetTunnel
- RPC method that returns the tunnel for a given object.
- Path
Description - A description of a tunnelβs path.
- Relay
Ids - Serializable container of relay identities.
EnumsΒ§
- Path
Entry - A RPC-level description for a single entry in a tunnel or circuit path.
FunctionsΒ§
- client_
data_ πstream_ ctrl_ describe_ path - Implementation function: implements DescribePath on a ClientDataStreamCtrl.
- client_
data_ πstream_ ctrl_ get_ tunnel - Implementation function: implements GetTunnel on ClientDataStreamCtrl.
- client_
stream_ πtunnel - Helper: Return the
ClientTunnelfor aClientDataStreamCtrl, or an RPC error if the stream isnβt attached to a tunnel. - client_
tunnel_ πdescribe_ path - Implementation function: implements DescribePath on a ClientTunnel.
- tunnel_
path π - Helper: Return a
PathDescriptionfor aClientTunnel