#[non_exhaustive]pub enum VariantKind {
Show 19 variants
ALMA8,
ALMA9,
CENTOS7,
CENTOS8,
CENTOS9,
DEBIAN10,
DEBIAN11,
DEBIAN12,
DEBIAN13,
ORACLE7,
ORACLE8,
ORACLE9,
RHEL8,
ROCKY8,
ROCKY9,
UBUNTU1804,
UBUNTU2004,
UBUNTU2204,
UBUNTU2404,
}
Expand description
The supported StorPool build variants (OS distribution, version, etc).
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.
ALMA8
AlmaLinux 8.x
ALMA9
AlmaLinux 9.x
CENTOS7
CentOS 7.x
CENTOS8
CentOS 8.x
CENTOS9
CentOS Stream 9.x
DEBIAN10
Debian 10.x (buster)
DEBIAN11
Debian 11.x (bullseye)
DEBIAN12
Debian 12.x (bookworm)
DEBIAN13
Debian 13.x (trixie/unstable)
ORACLE7
Oracle Linux 7.x
ORACLE8
Oracle Linux 8.x
ORACLE9
Oracle Linux 9.x
RHEL8
RedHat Enterprise Linux 8.x
ROCKY8
Rocky Linux 8.x
ROCKY9
Rocky Linux 9.x
UBUNTU1804
Ubuntu 18.04 LTS (Bionic Beaver)
UBUNTU2004
Ubuntu 20.04 LTS (Focal Fossa)
UBUNTU2204
Ubuntu 22.04 LTS (Jammy Jellyfish)
UBUNTU2404
Ubuntu 24.04 LTS (Noble Numbat)
Trait Implementations§
Source§impl AsRef<str> for VariantKind
impl AsRef<str> for VariantKind
Source§impl Clone for VariantKind
impl Clone for VariantKind
Source§fn clone(&self) -> VariantKind
fn clone(&self) -> VariantKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VariantKind
impl Debug for VariantKind
Source§impl<'de> Deserialize<'de> for VariantKind
impl<'de> Deserialize<'de> for VariantKind
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 FromStr for VariantKind
impl FromStr for VariantKind
Source§impl Hash for VariantKind
impl Hash for VariantKind
Source§impl PartialEq for VariantKind
impl PartialEq for VariantKind
Source§impl Sequence for VariantKind
impl Sequence for VariantKind
Source§impl Serialize for VariantKind
impl Serialize for VariantKind
impl Copy for VariantKind
impl Eq for VariantKind
impl StructuralPartialEq for VariantKind
Auto Trait Implementations§
impl Freeze for VariantKind
impl RefUnwindSafe for VariantKind
impl Send for VariantKind
impl Sync for VariantKind
impl Unpin for VariantKind
impl UnwindSafe for VariantKind
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