Module streaming

Module streaming 

Source
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§

AsyncBlockReader
Async block reader implementing AsyncRead
BlockReader
Synchronous block reader for reading raw block data
DagChunkStream
Async stream that yields chunks of data from a DAG
DagStreamReader
Async reader for DAG-structured data
MemoryBlockFetcher
A simple in-memory block fetcher for testing

Traits§

BlockFetcher
Block fetcher trait for retrieving blocks by CID

Functions§

read_chunked_file
Read all data from a chunked file