Expand description
Types and traits for converting objects to addresses which Tor can connect to.
StructsΒ§
- TorAddr
- An address object that you can connect to over the Tor network.
EnumsΒ§
- Host π
- A host that Tor can connect to: either a hostname or an IP address.
- Resolve
Instructions π - How to resolve this Tor host address into IP address(es)
- Stream
Instructions π - How to make a stream to this
TorAddr? - TorAddr
Error - An error created while making or using a
TorAddr.
TraitsΒ§
- Dangerously
Into TorAddr - An object that can be converted to a
TorAddr, but which it might be risky to get in the first place if youβre hoping for anonymity. - Into
TorAddr - An object that can be converted to a
TorAddrwith a minimum of risk.
FunctionsΒ§
- is_
globally_ πreachable_ unicast - Return true if
addris a globally reachable unicast address. - is_
shared π - Returns
trueif this address is part of the Shared Address Space defined in IETF RFC 6598 (100.64.0.0/10). - is_
valid_ πhostname - Check whether
hostnameis a valid hostname or not.