Expand description
Streaming support for reading and writing blocks
This module provides async streaming capabilities for block data, allowing efficient reading of chunked files and DAG structures.
Structs§
- Async
Block Reader - Async block reader implementing AsyncRead
- Block
Reader - Synchronous block reader for reading raw block data
- DagChunk
Stream - Async stream that yields chunks of data from a DAG
- DagStream
Reader - Async reader for DAG-structured data
- Memory
Block Fetcher - A simple in-memory block fetcher for testing
Traits§
- Block
Fetcher - Block fetcher trait for retrieving blocks by CID
Functions§
- read_
chunked_ file - Read all data from a chunked file