Expand description
Async (tokio) io, written in fsm style
IO ops are written as async state machines that thread the state through the futures to avoid being encumbered by lifetimes.
This makes them occasionally a bit verbose to use, but allows being generic without having to box the futures.
Structs§
- Response decoder state machine, after reading the size
- Response decoder state machine, at the start of a stream
Enums§
- An item of bao content
- Next type for ResponseDecoderReading.
Traits§
- A trait to abstract async reading from different resource.
- A trait to abstract async writing to different resources.
- A binary merkle tree for blake3 hashes of a blob.
- A mutable outboard.
Functions§
- Decode a response into a file while updating an outboard.
- Encode ranges relevant to a query from a reader and outboard to a writer
- Encode ranges relevant to a query from a reader and outboard to a writer
- Given an outboard, return a range set of all valid ranges