pub enum DistroKind {
Fedora,
Ubuntu,
AmazonLinux,
SteamOs,
Gke,
}Expand description
Which distribution a KernelId::Distro names.
Variants§
Fedora
Fedora (fedora, fedora-44, or shorthand f44).
Ubuntu
Ubuntu (ubuntu, ubuntu-24.04).
AmazonLinux
Amazon Linux (amazonlinux, amazonlinux-2023, or shorthand
al2023).
SteamOs
SteamOS (steamos, or a pinned channel steamos-3.8).
x86_64 only — Valve publishes no other architecture.
Gke
Google Kubernetes Engine COS node image (gke, or a constrained
COS milestone such as gke-129). Bare gke tracks the newest
GKE-promoted image; the milestone form tracks the newest promoted
revision within that milestone. x86_64 only today.
Trait Implementations§
Source§impl Clone for DistroKind
impl Clone for DistroKind
Source§fn clone(&self) -> DistroKind
fn clone(&self) -> DistroKind
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 DistroKind
impl Debug for DistroKind
Source§impl PartialEq for DistroKind
impl PartialEq for DistroKind
impl Copy for DistroKind
impl Eq for DistroKind
impl StructuralPartialEq for DistroKind
Auto Trait Implementations§
impl Freeze for DistroKind
impl RefUnwindSafe for DistroKind
impl Send for DistroKind
impl Sync for DistroKind
impl Unpin for DistroKind
impl UnwindSafe for DistroKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more