#[repr(u32)]pub enum HiveMinorVersion {
WindowsNT3_1Beta = 0,
WindowsNT3_1 = 1,
WindowsNT3_5 = 2,
WindowsNT4 = 3,
WindowsXPBeta = 4,
WindowsXP = 5,
WindowsVista = 6,
}
Expand description
Known hive minor versions.
You can use HiveMinorVersion::n
on the value returned by Hive::minor_version
to find out whether a hive has a known version.
Variants§
WindowsNT3_1Beta = 0
WindowsNT3_1 = 1
WindowsNT3_5 = 2
WindowsNT4 = 3
WindowsXPBeta = 4
WindowsXP = 5
WindowsVista = 6
Implementations§
Trait Implementations§
Source§impl Clone for HiveMinorVersion
impl Clone for HiveMinorVersion
Source§fn clone(&self) -> HiveMinorVersion
fn clone(&self) -> HiveMinorVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HiveMinorVersion
impl Debug for HiveMinorVersion
Source§impl Ord for HiveMinorVersion
impl Ord for HiveMinorVersion
Source§fn cmp(&self, other: &HiveMinorVersion) -> Ordering
fn cmp(&self, other: &HiveMinorVersion) -> 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 HiveMinorVersion
impl PartialEq for HiveMinorVersion
Source§impl PartialOrd for HiveMinorVersion
impl PartialOrd for HiveMinorVersion
impl Copy for HiveMinorVersion
impl Eq for HiveMinorVersion
impl StructuralPartialEq for HiveMinorVersion
Auto Trait Implementations§
impl Freeze for HiveMinorVersion
impl RefUnwindSafe for HiveMinorVersion
impl Send for HiveMinorVersion
impl Sync for HiveMinorVersion
impl Unpin for HiveMinorVersion
impl UnwindSafe for HiveMinorVersion
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