pub enum LoadResponse {
CacheValid,
Data {
raw_data: Vec<u8>,
index_version: Option<String>,
},
NotFound,
}
Variants
CacheValid
The cache is valid. The cached data should be used.
Data
The cache is out of date. Returned data should be used.
NotFound
The requested crate was found.
Auto Trait Implementations
impl RefUnwindSafe for LoadResponse
impl Send for LoadResponse
impl Sync for LoadResponse
impl Unpin for LoadResponse
impl UnwindSafe for LoadResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more