pub struct HttpFetcher { /* private fields */ }Expand description
Streams the package with reqwest, one chunk at a time.
The stream feature exists in this workspace for exactly this: the package
is 150-300 MB, and buffering it in memory on a home host is not an option —
nor would it leave a partial file on disk for the mismatch path to remove.
Implementations§
Trait Implementations§
Source§impl Clone for HttpFetcher
impl Clone for HttpFetcher
Source§fn clone(&self) -> HttpFetcher
fn clone(&self) -> HttpFetcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpFetcher
impl Debug for HttpFetcher
Source§impl Default for HttpFetcher
impl Default for HttpFetcher
Source§impl PackageFetcher for HttpFetcher
impl PackageFetcher for HttpFetcher
Auto Trait Implementations§
impl !RefUnwindSafe for HttpFetcher
impl !UnwindSafe for HttpFetcher
impl Freeze for HttpFetcher
impl Send for HttpFetcher
impl Sync for HttpFetcher
impl Unpin for HttpFetcher
impl UnsafeUnpin for HttpFetcher
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