[][src]Module oci_registry_client::blob

A "blob" representation.

This module provides a utility struct called Blob.

You can iterate over a blob chunks to download it contents:

This example is not tested
let response = reqwest::get("...");
let mut blob = Blob::from(response)

while let Some(chunk) = blob.chunk().await? {
    out_file.write_all(&chunk)?;
}

Structs

Blob

Blob represents a downloaded content in a Image Registry.