abstio
0.1.0
Module download
Module Items
Functions
In crate abstio
abstio
Module
download
Copy item path
Source
Functions
ยง
download_
bytes
Downloads bytes from a URL. This must be called with a tokio runtime somewhere. The caller creates an mpsc channel pair and provides the sender. Progress will be described through it.
download_
to_
file
Download a file from a URL. This must be called with a tokio runtime somewhere. Progress will be printed to STDOUT.
print_
download_
progress
Print download progress to STDOUT. Pass this the receiver, then call download_to_file or download_bytes with the sender.