Skip to main content

ArchiveStream

Type Alias ArchiveStream 

Source
pub type ArchiveStream = Pin<Box<dyn Stream<Item = Result<Bytes>> + Send + 'static>>;
Expand description

Boxed async stream of TAR-archive byte chunks returned by Runtime::archive_get.

Each yielded Bytes is a contiguous slice of the TAR archive that the runtime is producing for the requested container path. The stream ends once the archive is fully written. Mid-stream errors map to AgentError variants.

Aliased Typeยง

pub struct ArchiveStream { /* private fields */ }