pub enum Platform {
Debian,
Ubuntu,
RedHat,
CentOS,
Alpine,
Unknown(String),
}Expand description
Platform information
Variants§
Debian
Debian-based systems
Ubuntu
Ubuntu-based systems
RedHat
RedHat-based systems
CentOS
CentOS
Alpine
Alpine Linux
Unknown(String)
Unknown platform
Implementations§
Trait Implementations§
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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