pub struct EbrEntry {
pub ebr_offset: u64,
pub ebr_lba: u64,
pub logical: PartitionEntry,
pub logical_lba_start: u64,
pub slack: [u8; 32],
pub has_slack: bool,
}Expand description
A single link in the EBR chain.
Fields§
§ebr_offset: u64Absolute byte offset of this EBR sector in the disk image.
ebr_lba: u64Absolute LBA of this EBR sector.
logical: PartitionEntryThe logical partition described by this EBR.
logical_lba_start: u64Absolute LBA start of the logical partition.
slack: [u8; 32]Raw bytes of EBR entries 2 and 3 (bytes 478–509). Non-zero = slack.
has_slack: booltrue when [slack] contains at least one non-zero byte.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EbrEntry
impl RefUnwindSafe for EbrEntry
impl Send for EbrEntry
impl Sync for EbrEntry
impl Unpin for EbrEntry
impl UnsafeUnpin for EbrEntry
impl UnwindSafe for EbrEntry
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