pub struct BlockDescriptor {
pub original_offset: u64,
pub relative_store_offset: u64,
pub store_offset: u64,
pub flags: BlockDescriptorFlags,
pub allocation_bitmap: u32,
}Expand description
A 32-byte diff-area block descriptor: it maps an original volume block to the copy-on-write block saved in the store.
Fields§
§original_offset: u64Original data block offset (volume-relative).
relative_store_offset: u64Relative store data block offset (store-relative).
store_offset: u64Store data block offset (volume-relative).
flags: BlockDescriptorFlagsFlags.
allocation_bitmap: u32Allocation bitmap (used when the overlay flag is set).
Implementations§
Trait Implementations§
Source§impl Clone for BlockDescriptor
impl Clone for BlockDescriptor
Source§fn clone(&self) -> BlockDescriptor
fn clone(&self) -> BlockDescriptor
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 BlockDescriptor
Source§impl Debug for BlockDescriptor
impl Debug for BlockDescriptor
impl Eq for BlockDescriptor
Source§impl PartialEq for BlockDescriptor
impl PartialEq for BlockDescriptor
Source§fn eq(&self, other: &BlockDescriptor) -> bool
fn eq(&self, other: &BlockDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockDescriptor
Auto Trait Implementations§
impl Freeze for BlockDescriptor
impl RefUnwindSafe for BlockDescriptor
impl Send for BlockDescriptor
impl Sync for BlockDescriptor
impl Unpin for BlockDescriptor
impl UnsafeUnpin for BlockDescriptor
impl UnwindSafe for BlockDescriptor
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