pub enum Lookup {
Partial(Version),
LocalCache(Workspace),
Workspace(Workspace),
}Expand description
Lookup result
Variants§
Partial(Version)
A partial lookup – this has to cache the crate
LocalCache(Workspace)
The latest version from the cache
Workspace(Workspace)
A local workspace
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lookup
impl RefUnwindSafe for Lookup
impl Send for Lookup
impl Sync for Lookup
impl Unpin for Lookup
impl UnwindSafe for Lookup
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