Skip to main content

Module DownloadStream

Module DownloadStream 

Source
Expand description

Wrapper for an asynchronous Air download stream.

Adapts the tonic streaming API into a next().await iterator that yields DownloadStreamChunk::Struct items. Stream failures (HTTP/2 frame errors, mid-stream disconnect) surface as AirError::Network.

Structsยง

Struct