pub enum PackageManager {
Arch,
Debian,
Fedora,
Suse,
Alpine,
Void,
Solus,
}Expand description
The package manager families that package entries can name.
Variants§
Implementations§
Source§impl PackageManager
impl PackageManager
pub const fn executable(self) -> &'static str
pub const fn label(self) -> &'static str
Sourcepub fn install_command(self) -> Vec<&'static str>
pub fn install_command(self) -> Vec<&'static str>
The command that installs packages, without the package names.
Sourcepub fn remove_command(self) -> Vec<&'static str>
pub fn remove_command(self) -> Vec<&'static str>
The command that removes packages, without the package names.
Trait Implementations§
Source§impl Clone for PackageManager
impl Clone for PackageManager
impl Copy for PackageManager
Source§impl Debug for PackageManager
impl Debug for PackageManager
Source§impl<'de> Deserialize<'de> for PackageManager
impl<'de> Deserialize<'de> for PackageManager
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
impl Eq for PackageManager
Source§impl PartialEq for PackageManager
impl PartialEq for PackageManager
Source§impl Serialize for PackageManager
impl Serialize for PackageManager
impl StructuralPartialEq for PackageManager
Auto Trait Implementations§
impl Freeze for PackageManager
impl RefUnwindSafe for PackageManager
impl Send for PackageManager
impl Sync for PackageManager
impl Unpin for PackageManager
impl UnsafeUnpin for PackageManager
impl UnwindSafe for PackageManager
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