Crate multiaddr
Expand description
Implementation of multiaddr in Rust.
Modules§
- multihash
- Bare-minimum multihash data structure.
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 - Error while parsing an URL.
- Protocol
Protocol
describes all possible multiaddress protocols.
Functions§
- from_
url - Attempts to parse an URL into a multiaddress.
- from_
url_ lossy - Attempts to parse an URL into a multiaddress. Ignores possible loss of information.