Module traits

Source
Expand description

Declare traits to be implemented by types that describe a place that Tor can connect to, directly or indirectly.

Structs§

DisplayChanTarget
A reference to a ChanTarget that implements Display using a hopefully useful format.
DisplayRelayIds
A helper type used to format the RelayIds in a HasRelayIds.
RelayIdIter
An iterator over all of the relay identities held by a HasRelayIds

Traits§

ChanTarget
Information about a Tor relay used to connect to it.
CircTarget
Information about a Tor relay used to extend a circuit to it.
DirectChanMethodsHelper
Implement HasChanMethods for an object with HasAddr whose addresses all represent a host we can connect to by a direct Tor connection at its IP addresses.
HasAddrs
An object that represents a host on the network which may have known IP addresses.
HasChanMethod
An object that can be connected to via ChannelMethods.
HasRelayIds
An object containing information about a relay’s identity keys.
HasRelayIdsLegacy
Legacy implementation helper for HasRelayIds.