#[non_exhaustive]pub enum RepositoryKind {
Apt,
Rpm,
Apk,
}Expand description
The package manager a repository is added to: the OS family’s.
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.
Apt
A deb822 source and its keyring (Debian’s family).
Rpm
A .repo file and its key (Red Hat’s family).
Apk
A repositories line and its key (Alpine).
Trait Implementations§
Source§impl Clone for RepositoryKind
impl Clone for RepositoryKind
impl Copy for RepositoryKind
Source§impl Debug for RepositoryKind
impl Debug for RepositoryKind
impl Eq for RepositoryKind
Source§impl Hash for RepositoryKind
impl Hash for RepositoryKind
Source§impl PartialEq for RepositoryKind
impl PartialEq for RepositoryKind
impl StructuralPartialEq for RepositoryKind
Auto Trait Implementations§
impl Freeze for RepositoryKind
impl RefUnwindSafe for RepositoryKind
impl Send for RepositoryKind
impl Sync for RepositoryKind
impl Unpin for RepositoryKind
impl UnsafeUnpin for RepositoryKind
impl UnwindSafe for RepositoryKind
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.