pub struct Downloader {
pub cur: Mutex<usize>,
pub progress_bar: Mutex<ProgressBar>,
}Fields§
§cur: Mutex<usize>§progress_bar: Mutex<ProgressBar>Implementations§
Auto Trait Implementations§
impl !Freeze for Downloader
impl RefUnwindSafe for Downloader
impl Send for Downloader
impl Sync for Downloader
impl Unpin for Downloader
impl UnsafeUnpin for Downloader
impl UnwindSafe for Downloader
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