pub struct DownloadingState {
pub downloading_duration: u32,
pub download_instant: Instant,
pub download_way: DownloadWay,
}Fields§
§downloading_duration: u32§download_instant: Instant§download_way: DownloadWayImplementations§
Source§impl DownloadingState
impl DownloadingState
pub fn get_current_downloading_duration(&self) -> u32
Auto Trait Implementations§
impl Freeze for DownloadingState
impl !RefUnwindSafe for DownloadingState
impl Send for DownloadingState
impl Sync for DownloadingState
impl Unpin for DownloadingState
impl !UnwindSafe for DownloadingState
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