pub struct DownloadResult {
pub total_bytes: usize,
pub response_info: HttpResponseInfo,
pub disk_start_sector: u64,
pub sectors_written: u64,
}Expand description
Result of successful download.
Fields§
§total_bytes: usizeTotal bytes downloaded
response_info: HttpResponseInfoHTTP response info
disk_start_sector: u64Starting sector on disk
sectors_written: u64Number of sectors written
Trait Implementations§
Source§impl Clone for DownloadResult
impl Clone for DownloadResult
Source§fn clone(&self) -> DownloadResult
fn clone(&self) -> DownloadResult
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 DownloadResult
impl RefUnwindSafe for DownloadResult
impl Send for DownloadResult
impl Sync for DownloadResult
impl Unpin for DownloadResult
impl UnwindSafe for DownloadResult
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