Skip to main content

parse

Function parse 

Source
pub fn parse(address: &Multiaddr) -> Result<Shape, Error>
Expand description

Validate one address. IPs must be usable destinations; a circuit’s relay hop is a public IPv4 literal and its relay is never the peer it names.