Enum tame_index::index::location::IndexPath
source · pub enum IndexPath {
CargoHome,
UserSpecified(PathBuf),
Exact(PathBuf),
}
Expand description
The local disk location to place an index
Variants§
CargoHome
The default cargo home root path
UserSpecified(PathBuf)
User-specified root path
Exact(PathBuf)
An exact path on disk where an index is located.
Unlike the other two variants, this variant won’t take the index’s url into account to calculate the unique url hash as part of the full path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexPath
impl RefUnwindSafe for IndexPath
impl Send for IndexPath
impl Sync for IndexPath
impl Unpin for IndexPath
impl UnwindSafe for IndexPath
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