pub(crate) struct Partial {
folder: PathBuf,
name: String,
copy: usize,
path: PathBuf,
}Expand description
A file being downloaded: name.part in folder, which becomes name, or name (1)
and so on, once it is saved.
Fields§
§folder: PathBuf§name: String§copy: usizeThe copy number its name was free at, which finishing tries first.
path: PathBufImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Partial
impl RefUnwindSafe for Partial
impl Send for Partial
impl Sync for Partial
impl Unpin for Partial
impl UnsafeUnpin for Partial
impl UnwindSafe for Partial
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