Enum cargo::sources::registry::LoadResponse
source · pub enum LoadResponse {
CacheValid,
Data {
raw_data: Vec<u8>,
index_version: Option<String>,
},
NotFound,
}
Expand description
Result from loading data from a registry.
Variants§
CacheValid
The cache is valid. The cached data should be used.
Data
The cache is out of date. Returned data should be used.
Fields
NotFound
The requested crate was found.
Auto Trait Implementations§
impl Freeze for LoadResponse
impl RefUnwindSafe for LoadResponse
impl Send for LoadResponse
impl Sync for LoadResponse
impl Unpin for LoadResponse
impl UnwindSafe for LoadResponse
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