pub struct Downloader { /* private fields */ }Expand description
HTTP client for resumable range fetches. The customize closure is the
auth seam: it is applied to every request, so callers inject basic auth, a
bearer token, signed headers, or nothing — the engine stays auth-agnostic.
Implementations§
Source§impl Downloader
impl Downloader
pub fn builder(client: Client) -> DownloaderBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for Downloader
impl !UnwindSafe for Downloader
impl Freeze for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl UnsafeUnpin for Downloader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more