Module iroh_bytes::util

source ·
Expand description

Utility functions and types.

Modules§

  • Utilities for working with tokio io
  • Utilities for reporting progress.

Structs§

Enums§

  • This is a general purpose Either, just like Result, except that the two cases are Mem for something that is in memory, and File for something that is somewhere external and only available via io.
  • Option for commands that allow setting a tag

Traits§

  • A trait for things that can track liveness of blobs and collections.

Functions§

  • Get the number of bytes given a set of chunk ranges and the total size.