pub struct AsyncFetcher<'a> { /* private fields */ }
Expand description

A future builder for creating futures to fetch files from an asynchronous reqwest client.

Implementations

Initialze a new featuer to fetch from the given URL.

Stores the complete file to to_path when done.

Enable progress callback handling.

Submit the GET request for the file, if the modified time is too old.

Returns a ResponseState, which can either be manually handled by the caller, or used to commit the download with this API.

Submit the GET request for the file, if checksums are a mismatch.

Returns a ResponseState, which can either be manually handled by the caller, or used to commit the download with this API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.