pub enum LockedSourceKind {
Git,
Registry,
SparseRegistry,
Path,
LocalRegistry,
Directory,
}Expand description
The source family named by an explicit lock source.
Variants§
Git
A Git repository plus its reference and full selected revision.
Registry
A registry index.
SparseRegistry
A sparse registry index, distinct from a Git registry index.
Path
An explicitly named path source, distinct from an absent local source.
LocalRegistry
A local registry.
Directory
A directory registry.
Trait Implementations§
Source§impl Clone for LockedSourceKind
impl Clone for LockedSourceKind
impl Copy for LockedSourceKind
Source§impl Debug for LockedSourceKind
impl Debug for LockedSourceKind
impl Eq for LockedSourceKind
Source§impl Hash for LockedSourceKind
impl Hash for LockedSourceKind
Source§impl Ord for LockedSourceKind
impl Ord for LockedSourceKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LockedSourceKind
impl PartialEq for LockedSourceKind
Source§impl PartialOrd for LockedSourceKind
impl PartialOrd for LockedSourceKind
impl StructuralPartialEq for LockedSourceKind
Auto Trait Implementations§
impl Forget for LockedSourceKind
impl Freeze for LockedSourceKind
impl Move for LockedSourceKind
impl RefUnwindSafe for LockedSourceKind
impl Send for LockedSourceKind
impl Sync for LockedSourceKind
impl Unpin for LockedSourceKind
impl UnsafeUnpin for LockedSourceKind
impl UnwindSafe for LockedSourceKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Whether this borrowed key equals the stored key.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> EvidenceLease for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more