// =============================================================================
// vil_storage_s3::stream — Streaming helpers (MinIO SDK)
// =============================================================================
//
// MinIO SDK returns GetObjectResponse with ObjectContent that can be consumed
// via to_segmented_bytes(). This module provides a convenience wrapper.
// =============================================================================
use Bytes;
use ObjectContent;
use crateS3Fault;
use register_str;
/// Collect an ObjectContent response into a single Bytes buffer.
pub async