Expand description
Connect point types, and the code to parse them and resolve them.
Re-exportsΒ§
use serde::Deserialize;πuse serde::Deserialize;πuse serde_with::DeserializeFromStr;πuse std::fmt::Debug;πuse std::fmt::Debug;πuse std::net;πuse std::net::IpAddr;πuse std::path::PathBuf;πuse std::str::FromStr;πuse tor_config_path::CfgPath;πuse tor_config_path::CfgPathError;πuse tor_config_path::CfgPathResolver;πuse tor_config_path::addr::CfgAddr;πuse tor_config_path::addr::CfgAddrError;πuse tor_general_addr::general;πuse tor_general_addr::general::AddrParseError;πuse tor_rtcompat::NetStreamListener;πuse tor_rtcompat::NetStreamProvider;πuse crate::HasClientErrorAction;π
StructsΒ§
- Addr
With πStr - Represent an address type along with the string it was decoded from.
- Address
File π - The representation of an address as written into a socket file.
- Builtin π
- A βbuiltinβ connect point.
- Connect π
- Information for a connect point that is implemented by making a socket connection to an address.
- Connect
Point πDe - Representation of a connect point as deserialized.
- Inet
Auto πAddress - Instructions to bind to an address chosen by the OS.
- Parsed
Connect Point - A connect point, as deserialized from TOML.
- Resolved π
- Type parameters for resolved connect points
- Resolved
Connect Point - A connect point, with all paths resolved.
- Unresolved π
- Type parameters for unresolved connect points
EnumsΒ§
- Auth π
- An authentication method for RPC implementations to use, along with its related parameters.
- Builtin
Variant π - A particular built-in strategy.
- Connect
Address π - A target of a
Connectconnpt. - Connect
Point πEnum - Implementation type for a connect point.
- Parse
Error - A failure from
ParsedConnectPoint::from_str(). - Resolve
Error - A failure from
ParsedConnectPoint::resolve().
TraitsΒ§
- Addresses π
- Trait to hold types that vary depending on whether a connect point is resolved or not.
FunctionsΒ§
- sockaddr_
check_ πabsolute - Return true if
sis an absolute address.