Module iroh_bytes::util
source · Expand description
Utility functions and types.
Modules§
- Utilities for working with tokio io
- Utilities for reporting progress.
Structs§
- A file that is sparse in memory
- A tag
- A set of merged
SetTagOption
s for a blob. - A hash and format pair that is protected from garbage collection.
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.