pub enum RegfVersion {
V1_0,
V1_3,
V1_4,
V1_5,
V1_6,
}Expand description
Registry hive format version, determined by the minor version field in the base block header.
Variants§
V1_0
Version 1.0-1.2: Windows NT 3.x. LI index only.
V1_3
Version 1.3: Windows NT 4.0. Adds LF (fast leaf).
V1_4
Version 1.4: Windows XP beta. Adds big data (DB).
V1_5
Version 1.5: Windows XP release+. Adds LH (hash leaf).
V1_6
Version 1.6: Windows 10+. Differencing/layered hives.
Implementations§
Source§impl RegfVersion
impl RegfVersion
Sourcepub fn from_minor(minor: u32) -> Option<Self>
pub fn from_minor(minor: u32) -> Option<Self>
Determine version from minor version number.
Sourcepub fn has_hash_leaf(self) -> bool
pub fn has_hash_leaf(self) -> bool
Whether this version supports LH (hash leaf) index cells.
Sourcepub fn has_big_data(self) -> bool
pub fn has_big_data(self) -> bool
Whether this version supports DB (big data) cells.
Sourcepub fn has_fast_leaf(self) -> bool
pub fn has_fast_leaf(self) -> bool
Whether this version supports LF (fast leaf) index cells.
Sourcepub fn has_layered_keys(self) -> bool
pub fn has_layered_keys(self) -> bool
Whether this version supports differencing/layered keys.
Trait Implementations§
Source§impl Clone for RegfVersion
impl Clone for RegfVersion
Source§fn clone(&self) -> RegfVersion
fn clone(&self) -> RegfVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegfVersion
Source§impl Debug for RegfVersion
impl Debug for RegfVersion
impl Eq for RegfVersion
Source§impl Hash for RegfVersion
impl Hash for RegfVersion
Source§impl Ord for RegfVersion
impl Ord for RegfVersion
Source§fn cmp(&self, other: &RegfVersion) -> Ordering
fn cmp(&self, other: &RegfVersion) -> Ordering
1.21.0 (const: unstable) · 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 RegfVersion
impl PartialEq for RegfVersion
Source§fn eq(&self, other: &RegfVersion) -> bool
fn eq(&self, other: &RegfVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RegfVersion
impl PartialOrd for RegfVersion
impl StructuralPartialEq for RegfVersion
Auto Trait Implementations§
impl Freeze for RegfVersion
impl RefUnwindSafe for RegfVersion
impl Send for RegfVersion
impl Sync for RegfVersion
impl Unpin for RegfVersion
impl UnsafeUnpin for RegfVersion
impl UnwindSafe for RegfVersion
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