Expand description
Sync IO operations
The traits to perform positioned io are re-exported from positioned-io.
Structs§
- Decode
Response Iter - Iterator that can be used to decode a response to a range request
Traits§
- Create
Outboard - Convenience trait to initialize an outboard from a data source.
- Outboard
- A binary merkle tree for blake3 hashes of a blob.
- Outboard
Mut - A mutable outboard.
- ReadAt
- Trait for reading bytes at an offset.
- Size
- Trait to get the size in bytes of an I/O object.
- WriteAt
- Trait for writing bytes at an offset.
Functions§
- copy
- Copy an outboard to another outboard.
- decode_
ranges - Decode a response into a file while updating an outboard.
- encode_
ranges - Encode ranges relevant to a query from a reader and outboard to a writer
- encode_
ranges_ validated - Encode ranges relevant to a query from a reader and outboard to a writer
- outboard
- Compute the outboard for the given data.
- outboard_
post_ order - Compute the post order outboard for the given data, writing into a io::Write
- truncate_
ranges - Given a set of chunk ranges, adapt them for a tree of the given size.
- valid_
outboard_ ranges - Given just an outboard, compute all valid ranges.
- valid_
ranges - Given a data file and an outboard, compute all valid ranges.