pub struct DownloadJob {
pub base_url: String,
pub token: Option<String>,
pub cache_root: PathBuf,
pub downloads: Vec<PackageInfo>,
pub cancel: Arc<AtomicBool>,
}Expand description
Everything scene 4b’s run needs, owned, because it crosses a thread. It knows no game folder: the download only fills the cache.
Fields§
§base_url: String§token: Option<String>§cache_root: PathBuf§downloads: Vec<PackageInfo>Checked in scene 4 and not on this computer yet, which is the scene 4 selection rather than the scene 5 picks.
cancel: Arc<AtomicBool>Auto Trait Implementations§
impl Freeze for DownloadJob
impl RefUnwindSafe for DownloadJob
impl Send for DownloadJob
impl Sync for DownloadJob
impl Unpin for DownloadJob
impl UnsafeUnpin for DownloadJob
impl UnwindSafe for DownloadJob
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