Expand description

CONcurrent DOWnloads for local files

Load parts of files concurrently.

This is mostly for testing and experimenting. In most cases it is better to load sequentially from disks.


use condow_fs::*;
use condow_fs::config::Config;

let condow = FsClient::condow(Config::default()).unwrap();

let stream = condow.blob().at(String::from("my_file")).range(23..46).download().await.unwrap();
let downloaded_bytes: Vec<u8> = stream.into_vec().await.unwrap();

Modules

Adapter for crate::Condow to access BLOBs to be downloaded

Configuration items

Error types returned by Condow

Probes & Instrumentation

Implementations of async readers for downloads

Stream implememtations used by Condow

Structs

The CONcurrent DOWnloader

An inclusive range which can not have a length of 0.

A range defined by an offset and a length.

A request for a download from a specific location

A request for a download where the location is not yet known

Enums

A closed range

A range which specifies a download

An open range

Traits

A common interface for downloading

Downloads from a location specified by a &str.