#[non_exhaustive]pub enum Win32OSType {
Any,
Workstation,
Server,
}Available on
target_family=windows only.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§
Source§impl Clone for Win32OSType
impl Clone for Win32OSType
Source§fn clone(&self) -> Win32OSType
fn clone(&self) -> Win32OSType
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 Win32OSType
impl Debug for Win32OSType
Source§impl Hash for Win32OSType
impl Hash for Win32OSType
Source§impl Ord for Win32OSType
impl Ord for Win32OSType
Source§fn cmp(&self, other: &Win32OSType) -> Ordering
fn cmp(&self, other: &Win32OSType) -> 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 Win32OSType
impl PartialEq for Win32OSType
Source§impl PartialOrd for Win32OSType
impl PartialOrd for Win32OSType
impl Copy for Win32OSType
impl Eq for Win32OSType
impl StructuralPartialEq for Win32OSType
Auto Trait Implementations§
impl Freeze for Win32OSType
impl RefUnwindSafe for Win32OSType
impl Send for Win32OSType
impl Sync for Win32OSType
impl Unpin for Win32OSType
impl UnwindSafe for Win32OSType
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