pub struct StoreDescriptor {
pub store_id: [u8; 16],
pub volume_size: u64,
pub sequence: u64,
pub flags: u64,
pub creation_time: u64,
pub store_header_offset: Option<u64>,
}Expand description
A shadow-copy store as described by a catalog type-0x02 entry, augmented with the store-header offset from its paired type-0x03 entry.
Fields§
§store_id: [u8; 16]Store identifier GUID (also the store’s on-disk filename).
volume_size: u64Shadow-copy volume size at snapshot time.
sequence: u64Catalog sequence number.
flags: u64Snapshot flags (0x40 = Vista/7, 0x440 = Win8 file backup).
creation_time: u64Shadow-copy creation time, a raw Windows FILETIME (100 ns since 1601, UTC).
store_header_offset: Option<u64>Volume-relative offset of the store block header (from the type-0x03
entry), or None when the catalog has no type-0x03 entry (Win 2003 R2).
Implementations§
Source§impl StoreDescriptor
impl StoreDescriptor
Sourcepub fn store_id_string(&self) -> String
pub fn store_id_string(&self) -> String
The store identifier rendered as a canonical GUID string.
Trait Implementations§
Source§impl Clone for StoreDescriptor
impl Clone for StoreDescriptor
Source§fn clone(&self) -> StoreDescriptor
fn clone(&self) -> StoreDescriptor
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 moreSource§impl Debug for StoreDescriptor
impl Debug for StoreDescriptor
impl Eq for StoreDescriptor
Source§impl PartialEq for StoreDescriptor
impl PartialEq for StoreDescriptor
Source§fn eq(&self, other: &StoreDescriptor) -> bool
fn eq(&self, other: &StoreDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreDescriptor
Auto Trait Implementations§
impl Freeze for StoreDescriptor
impl RefUnwindSafe for StoreDescriptor
impl Send for StoreDescriptor
impl Sync for StoreDescriptor
impl Unpin for StoreDescriptor
impl UnsafeUnpin for StoreDescriptor
impl UnwindSafe for StoreDescriptor
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