Struct download_lib::DownloadInner
source · [−]pub struct DownloadInner { /* private fields */ }Expand description
download status
Implementations
sourceimpl DownloadInner
impl DownloadInner
sourcepub fn get_error(&self) -> Option<&DownloadError>
pub fn get_error(&self) -> Option<&DownloadError>
get error
sourcepub fn get_percent_complete(&self) -> f64
pub fn get_percent_complete(&self) -> f64
get complete percent
sourcepub fn get_byte_sec(&self) -> u64
pub fn get_byte_sec(&self) -> u64
computer bs
sourcepub fn get_down_size(&self) -> u64
pub fn get_down_size(&self) -> u64
get size
Auto Trait Implementations
impl !RefUnwindSafe for DownloadInner
impl Send for DownloadInner
impl Sync for DownloadInner
impl Unpin for DownloadInner
impl !UnwindSafe for DownloadInner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more