pub enum LinuxDistro {
Fedora,
Debian,
Ubuntu,
Arch,
Generic,
}
Variants§
Trait Implementations§
Source§impl Clone for LinuxDistro
impl Clone for LinuxDistro
Source§fn clone(&self) -> LinuxDistro
fn clone(&self) -> LinuxDistro
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 LinuxDistro
impl Debug for LinuxDistro
Source§impl Default for LinuxDistro
impl Default for LinuxDistro
Source§impl<'de> Deserialize<'de> for LinuxDistro
impl<'de> Deserialize<'de> for LinuxDistro
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 LinuxDistro
impl FromStr for LinuxDistro
Source§impl Hash for LinuxDistro
impl Hash for LinuxDistro
Source§impl Ord for LinuxDistro
impl Ord for LinuxDistro
Source§fn cmp(&self, other: &LinuxDistro) -> Ordering
fn cmp(&self, other: &LinuxDistro) -> Ordering
1.21.0 · 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
Source§impl PartialEq for LinuxDistro
impl PartialEq for LinuxDistro
Source§impl PartialOrd for LinuxDistro
impl PartialOrd for LinuxDistro
Source§impl Serialize for LinuxDistro
impl Serialize for LinuxDistro
Source§impl TryFrom<&str> for LinuxDistro
impl TryFrom<&str> for LinuxDistro
impl Eq for LinuxDistro
impl StructuralPartialEq for LinuxDistro
Auto Trait Implementations§
impl Freeze for LinuxDistro
impl RefUnwindSafe for LinuxDistro
impl Send for LinuxDistro
impl Sync for LinuxDistro
impl Unpin for LinuxDistro
impl UnwindSafe for LinuxDistro
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