pub struct HttpsSource(/* private fields */);Trait Implementations§
Source§impl Default for HttpsSource
impl Default for HttpsSource
Source§impl Source for HttpsSource
impl Source for HttpsSource
Source§fn fetch_from(
&self,
url: &str,
output: &mut dyn Write,
offset: u64,
limit: u64,
) -> Result<Transfer>
fn fetch_from( &self, url: &str, output: &mut dyn Write, offset: u64, limit: u64, ) -> Result<Transfer>
Append bytes beginning at offset, within the remaining byte budget. Restart must
write nothing. Errors may leave a prefix; only a final whole-file hash proves it.
Sources without range support safely restart that file.
fn fetch(&self, url: &str, output: &mut dyn Write, limit: u64) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for HttpsSource
impl !UnwindSafe for HttpsSource
impl Forget for HttpsSource
impl Freeze for HttpsSource
impl Move for HttpsSource
impl Send for HttpsSource
impl Sync for HttpsSource
impl Unpin for HttpsSource
impl UnsafeUnpin for HttpsSource
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