pub struct EntryView {
pub slot: usize,
pub entry: PartitionEntry,
pub validate_ok: Result<(), String>,
pub data_hash_ok: Option<bool>,
pub data_in_bounds: bool,
}Expand description
One partition entry as physically found in a block.
Fields§
§slot: usize§entry: PartitionEntry§validate_ok: Result<(), String>Ok if PartitionEntry::validate passed, else the stringified reason.
data_hash_ok: Option<bool>Some(true/false) when the data region is readable and the algorithm
verifies; None when unreadable or the algorithm is None.
data_in_bounds: boolWhether [start_offset, start_offset + used_bytes) lies within the file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryView
impl RefUnwindSafe for EntryView
impl Send for EntryView
impl Sync for EntryView
impl Unpin for EntryView
impl UnsafeUnpin for EntryView
impl UnwindSafe for EntryView
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