#[non_exhaustive]pub enum PackageRegistry {
Alire,
Clojars,
Cpan,
Crates,
Cran,
Hex,
Jsr,
LuaRocks,
Npm,
Pub,
PyPi,
RubyGems,
}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.
Alire
The Alire package registry.
Clojars
The Clojars package registry for Clojure.
See: https://clojars.org/
Cpan
The CPAN package registry for Perl.
See: https://cpan.org/
Crates
The Crates.io package registry.
See: https://crates.io/
Cran
The CRAN package registry for R.
Hex
The Hex.pm package registry.
See: https://hex.pm/
Jsr
The JSR.io package registry.
See: https://jsr.io/
LuaRocks
The LuaRocks.org package registry.
Npm
The NPM package registry.
See: https://npmjs.com/
Pub
The Pub.dev package registry.
See: https://pub.dev/
PyPi
The PyPI.org package registry.
See: https://pypi.org/
RubyGems
The RubyGems.org package registry.
Trait Implementations§
Source§impl Clone for PackageRegistry
impl Clone for PackageRegistry
Source§impl Debug for PackageRegistry
impl Debug for PackageRegistry
Source§impl<'de> Deserialize<'de> for PackageRegistry
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PackageRegistry
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PackageRegistry
impl Display for PackageRegistry
impl Eq for PackageRegistry
Source§impl FromStr for PackageRegistry
impl FromStr for PackageRegistry
Source§impl Hash for PackageRegistry
impl Hash for PackageRegistry
Source§impl Ord for PackageRegistry
impl Ord for PackageRegistry
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 PackageRegistry
impl PartialEq for PackageRegistry
Source§impl PartialOrd for PackageRegistry
impl PartialOrd for PackageRegistry
Source§impl Serialize for PackageRegistry
Available on crate feature serde only.
impl Serialize for PackageRegistry
Available on crate feature
serde only.impl StructuralPartialEq for PackageRegistry
Auto Trait Implementations§
impl Freeze for PackageRegistry
impl RefUnwindSafe for PackageRegistry
impl Send for PackageRegistry
impl Sync for PackageRegistry
impl Unpin for PackageRegistry
impl UnsafeUnpin for PackageRegistry
impl UnwindSafe for PackageRegistry
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