#[non_exhaustive]pub enum EcosystemId {
Cargo,
}Expand description
A supported dependency ecosystem. Cargo is the first beachhead
(docs/ARCHITECTURE.md §7); npm/PyPI/Go follow via the DepEcosystem trait.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cargo
Implementations§
Trait Implementations§
Source§impl Clone for EcosystemId
impl Clone for EcosystemId
Source§fn clone(&self) -> EcosystemId
fn clone(&self) -> EcosystemId
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 EcosystemId
Source§impl Debug for EcosystemId
impl Debug for EcosystemId
Source§impl Display for EcosystemId
impl Display for EcosystemId
impl Eq for EcosystemId
Source§impl Hash for EcosystemId
impl Hash for EcosystemId
Source§impl PartialEq for EcosystemId
impl PartialEq for EcosystemId
Source§impl Serialize for EcosystemId
impl Serialize for EcosystemId
impl StructuralPartialEq for EcosystemId
Auto Trait Implementations§
impl Freeze for EcosystemId
impl RefUnwindSafe for EcosystemId
impl Send for EcosystemId
impl Sync for EcosystemId
impl Unpin for EcosystemId
impl UnsafeUnpin for EcosystemId
impl UnwindSafe for EcosystemId
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