pub enum SupplySource {
UnverifiedUrl,
PublicRegistry,
SignedRepo,
PrivateRegistry,
Vendored,
}Expand description
Where network-sourced code came from (v1.4 §2.6). Categorical — a level lists the sources it accepts rather than assuming a severity order.
Variants§
Trait Implementations§
Source§impl Clone for SupplySource
impl Clone for SupplySource
Source§fn clone(&self) -> SupplySource
fn clone(&self) -> SupplySource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SupplySource
Source§impl Debug for SupplySource
impl Debug for SupplySource
Source§impl Default for SupplySource
impl Default for SupplySource
Source§fn default() -> SupplySource
fn default() -> SupplySource
Returns the “default value” for a type. Read more
impl Eq for SupplySource
Source§impl FacetTerm for SupplySource
impl FacetTerm for SupplySource
Source§impl Hash for SupplySource
impl Hash for SupplySource
Source§impl PartialEq for SupplySource
impl PartialEq for SupplySource
impl StructuralPartialEq for SupplySource
Auto Trait Implementations§
impl Freeze for SupplySource
impl RefUnwindSafe for SupplySource
impl Send for SupplySource
impl Sync for SupplySource
impl Unpin for SupplySource
impl UnsafeUnpin for SupplySource
impl UnwindSafe for SupplySource
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.