Crate ockam_multiaddr

Source
Expand description

This crate provides 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§

codec
iter
proto

Structs§

Checked
Asserts that the wrapped value has been subject to some inspection.
Code
A numeric protocol code.
Error
MultiAddr
A sequence of Protocols.
ProtoIter
Iterator over binary Protocol values of a MultiAddr.
ProtoValue
Protocol value bytes.
Registry
RegistryBuilder

Enums§

Match

Traits§

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