pub struct Downloader { /* private fields */ }Implementations§
Source§impl Downloader
 
impl Downloader
pub fn new(store: &Store, endpoint: &Endpoint) -> Self
pub fn download( &self, request: impl SupportedRequest, providers: impl ContentDiscovery, ) -> DownloadProgress
pub fn download_with_opts(&self, options: DownloadOptions) -> DownloadProgress
Trait Implementations§
Source§impl Clone for Downloader
 
impl Clone for Downloader
Source§fn clone(&self) -> Downloader
 
fn clone(&self) -> Downloader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreAuto Trait Implementations§
impl Freeze for Downloader
impl !RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl !UnwindSafe 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