Crate condow_fs

Source
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§

condow_client
Adapter for crate::Condow to access BLOBs to be downloaded
config
Configuration items
errors
Error types returned by Condow
probe
Probes & Instrumentation
reader
Implementations of async readers for downloads
streams
Stream implememtations used by Condow

Structs§

Condow
The CONcurrent DOWnloader
FsClient
InclusiveRange
An inclusive range which can not have a length of 0.
OffsetRange
A range defined by an offset and a length.
Request
A request for a download from a specific location
RequestNoLocation
A request for a download where the location is not yet known

Enums§

ClosedRange
A closed range
DownloadRange
A range which specifies a download
OpenRange
An open range

Traits§

Downloads
A common interface for downloading
DownloadsUntyped
Downloads from a location specified by a &str.