pub struct Geometry {
pub offset_sector: u64,
pub data_sectors: u64,
pub sector_size: u32,
}Expand description
Computed geometry of the encryption target region.
Fields§
§offset_sector: u64First absolute LBA of the data (encryptable) region.
data_sectors: u64Number of sectors to encrypt (metadata regions excluded).
sector_size: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnsafeUnpin for Geometry
impl UnwindSafe for Geometry
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