#[non_exhaustive]pub enum OsFamily {
Linux,
Windows,
Unsupported,
}Expand description
Broad host-OS classification used by the loader.
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.
Trait Implementations§
impl Copy for OsFamily
impl Eq for OsFamily
impl StructuralPartialEq for OsFamily
Auto Trait Implementations§
impl Freeze for OsFamily
impl RefUnwindSafe for OsFamily
impl Send for OsFamily
impl Sync for OsFamily
impl Unpin for OsFamily
impl UnsafeUnpin for OsFamily
impl UnwindSafe for OsFamily
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