Function object_store::collect_bytes
source ยท pub async fn collect_bytes<S, E>(
stream: S,
size_hint: Option<usize>,
) -> Result<Bytes, E>
Expand description
Collect a stream into Bytes
avoiding copying in the event of a single chunk