pub enum LinuxDistro {
Ubuntu,
Debian,
CentOS,
RedHat,
Alpine,
Unknown,
}Expand description
Linux distribution detection
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<'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 PartialEq for LinuxDistro
impl PartialEq for LinuxDistro
Source§impl Serialize for LinuxDistro
impl Serialize 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