pub struct EncryptedMetadataLocation {
pub primary_offset: u64,
pub block_count: u64,
pub length: u64,
}Expand description
The located encrypted-metadata region, plus everything needed to read it.
Fields§
§primary_offset: u64Byte offset of the primary encrypted-metadata region in the image.
block_count: u64Number of blocks in the region.
length: u64Region length in bytes (block_count * block_size), whole 8192 units.
Trait Implementations§
Source§impl Clone for EncryptedMetadataLocation
impl Clone for EncryptedMetadataLocation
Source§fn clone(&self) -> EncryptedMetadataLocation
fn clone(&self) -> EncryptedMetadataLocation
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 moreAuto Trait Implementations§
impl Freeze for EncryptedMetadataLocation
impl RefUnwindSafe for EncryptedMetadataLocation
impl Send for EncryptedMetadataLocation
impl Sync for EncryptedMetadataLocation
impl Unpin for EncryptedMetadataLocation
impl UnsafeUnpin for EncryptedMetadataLocation
impl UnwindSafe for EncryptedMetadataLocation
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