Expand description
Analyze a list of link specifiers as a OwnedChanTarget.
This functionality is used in the onion service subsystem, and for relays. The onion service subsystem uses this to decode a description of a relay as provided in a HsDesc or an INTRODUCE2 message; relays use this to handle EXTEND2 messages and figure out where to send a circuit.
Re-exportsยง
use std::net::SocketAddr;๐use crate::EncodedLinkSpec;๐use crate::LinkSpec;๐use crate::OwnedChanTargetBuilder;๐use crate::RelayIdType;๐use itertools::Itertools as _;๐
Enumsยง
- Chan
Target Decode Error - An error that occurred while constructing a
ChanTargetfrom a set of link specifiers. - Strictness
- A rule for how strictly to parse a list of LinkSpecifiers when converting it into
an
OwnedChanTarget.