downlowd 0.1.1

Download files with automatic retries and resumes.
1
2
3
4
5
6
7
pub trait Limiter {
    /// Called to notify the bucket that we consumed some bytes.
    async fn bytes_consumed(&self, bytes: u64);

    /// Called to wait until the caller can download more bytes.
    async fn wait(&self);
}