pub enum StoreLocator {
Fs {
path: PathBuf,
locator: String,
},
Http(Url),
Https(Url),
Oci(String),
Warg(String),
}Variants§
Implementations§
Source§impl StoreLocator
impl StoreLocator
pub fn parse(raw: &str) -> Result<Self, StoreError>
pub fn as_cache_key(&self) -> String
Trait Implementations§
Source§impl Clone for StoreLocator
impl Clone for StoreLocator
Source§fn clone(&self) -> StoreLocator
fn clone(&self) -> StoreLocator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreLocator
impl Debug for StoreLocator
Source§impl PartialEq for StoreLocator
impl PartialEq for StoreLocator
impl Eq for StoreLocator
impl StructuralPartialEq for StoreLocator
Auto Trait Implementations§
impl Freeze for StoreLocator
impl RefUnwindSafe for StoreLocator
impl Send for StoreLocator
impl Sync for StoreLocator
impl Unpin for StoreLocator
impl UnwindSafe for StoreLocator
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