Module piece_getter

Source
Expand description

Getting object pieces from the Subspace Distributed Storage Network, or various caches.

Structs§

FallbackPieceGetter
A piece getter that falls back to another piece getter if the first one does not return the piece. If both piece getters don’t return the piece, returns the result of the second piece getter.

Traits§

PieceGetter
Trait representing a way to get pieces

Functions§

get_pieces_individually
A default implementation which gets each piece individually, using the get_piece async function.