pub type EncodeStream = Pin<Box<dyn Stream<Item = Result<Bytes, RangedStoreError>> + Send>>;Expand description
A stream of wire-format bao chunks for a re-encoded byte range —
interleaved proof pairs and chunk-group data in tree order, header-less
(no 8-byte size prefix; the signed StreamResponse.total_bytes is the
authoritative size, ADR 038). Each item is fallible with the store’s
RangedStoreError.
Aliased Type§
#[repr(transparent)]pub struct EncodeStream { /* private fields */ }