Expand description
The status of RegistryData::download
which indicates if a .crate
file has already been downloaded, or if not then the URL to download.
Variants
Ready(File)
The .crate
file is already downloaded. File
is a handle to the
opened .crate
file on the filesystem.
Download
The .crate
file is not downloaded, here’s the URL to download it from.
descriptor
is just a text string to display to the user of what is
being downloaded.
Auto Trait Implementations
impl RefUnwindSafe for MaybeLock
impl Send for MaybeLock
impl Sync for MaybeLock
impl Unpin for MaybeLock
impl UnwindSafe for MaybeLock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more