pub struct HfTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DownloadTransport for HfTransport
impl DownloadTransport for HfTransport
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
raw: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<DownloadResponse, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_from<'life0, 'life1, 'async_trait>(
&'life0 self,
raw: &'life1 str,
offset: u64,
) -> Pin<Box<dyn Future<Output = Result<DownloadResponse, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_from<'life0, 'life1, 'async_trait>(
&'life0 self,
raw: &'life1 str,
offset: u64,
) -> Pin<Box<dyn Future<Output = Result<DownloadResponse, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Continues a download at
offset; transports without range support refuse.Auto Trait Implementations§
impl !RefUnwindSafe for HfTransport
impl !UnwindSafe for HfTransport
impl Freeze for HfTransport
impl Send for HfTransport
impl Sync for HfTransport
impl Unpin for HfTransport
impl UnsafeUnpin for HfTransport
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