Crate ockam_multiaddr

source ·
Expand description

An implementation of multiformats.io/multiaddr.

The main entities of this crate are:

  • MultiAddr: A sequence of protocol values.
  • Protocol: A type that can be read from and written to strings and bytes.
  • Codec: A type that understands protocols.
  • ProtoValue: A section of a MultiAddr.

Modules

Structs

Asserts that the wrapped value has been subject to some inspection.
A numeric protocol code.
A sequence of Protocols.
Iterator over binary Protocol values of a MultiAddr.
Protocol value bytes.

Enums

Traits

A type that can be extended with byte slices.
Type that understands how to read and write Protocols.
Component of a MultiAddr.