Expand description
Implementation of multiaddr in Rust.
Re-exports§
pub use multihash;
Macros§
- multiaddr
- Easy way for a user to create a
Multiaddr
.
Structs§
- Iter
- Iterator over
Multiaddr
Protocol
s. - Multiaddr
- Representation of a Multiaddr.
- Onion3
Addr - Represents an Onion v3 address
- PeerId
- Identifier of a peer of the network.
- Proto
Stack Iter - Iterator over the string idtenfiers of the protocols (not addrs) in a multiaddr
Enums§
- Error
- Error types
- From
UrlErr url
- Error while parsing an URL.
- Protocol
Protocol
describes all possible multiaddress protocols.
Functions§
- from_
url url
- Attempts to parse an URL into a multiaddress.
- from_
url_ lossy url
- Attempts to parse an URL into a multiaddress. Ignores possible loss of information.