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
- Inclusive
Range - An inclusive range which can not have a length of 0.
- Offset
Range - A range defined by an offset and a length.
- Request
- A request for a download from a specific location
- Request
NoLocation - A request for a download where the location is not yet known
Enums§
- Closed
Range - A closed range
- Download
Range - A range which specifies a download
- Open
Range - An open range
Traits§
- Downloads
- A common interface for downloading
- Downloads
Untyped - Downloads from a location specified by a &str.