pub struct DownloadClient;Expand description
Main async library client.
Implementations§
Source§impl DownloadClient
impl DownloadClient
Sourcepub fn prepare(&self, request: DownloadRequest) -> Result<DownloadSession>
pub fn prepare(&self, request: DownloadRequest) -> Result<DownloadSession>
Validates and plans a new session without starting network or download work.
Trait Implementations§
Source§impl Clone for DownloadClient
impl Clone for DownloadClient
Source§fn clone(&self) -> DownloadClient
fn clone(&self) -> DownloadClient
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 DownloadClient
impl Debug for DownloadClient
Source§impl Default for DownloadClient
impl Default for DownloadClient
Source§fn default() -> DownloadClient
fn default() -> DownloadClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DownloadClient
impl RefUnwindSafe for DownloadClient
impl Send for DownloadClient
impl Sync for DownloadClient
impl Unpin for DownloadClient
impl UnsafeUnpin for DownloadClient
impl UnwindSafe for DownloadClient
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