pub struct IntegrityReport {
pub grains_checked: u64,
pub out_of_bounds_grains: u64,
pub out_of_bounds_grain_tables: u64,
}Expand description
Result of a structural integrity walk (VmdkIntegrity::check_integrity).
Counts grain-directory / grain-table pointers that fall outside the backing file —
the signature of a truncated or tampered image. is_ok is the verdict.
Fields§
§grains_checked: u64Number of allocated grains examined.
out_of_bounds_grains: u64Allocated grains whose data offset lies beyond end-of-file.
out_of_bounds_grain_tables: u64Grain-directory entries whose grain table lies beyond end-of-file.
Implementations§
Trait Implementations§
Source§impl Clone for IntegrityReport
impl Clone for IntegrityReport
Source§fn clone(&self) -> IntegrityReport
fn clone(&self) -> IntegrityReport
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 moreSource§impl Debug for IntegrityReport
impl Debug for IntegrityReport
Source§impl Default for IntegrityReport
impl Default for IntegrityReport
Source§fn default() -> IntegrityReport
fn default() -> IntegrityReport
Returns the “default value” for a type. Read more
impl Eq for IntegrityReport
Source§impl PartialEq for IntegrityReport
impl PartialEq for IntegrityReport
Source§fn eq(&self, other: &IntegrityReport) -> bool
fn eq(&self, other: &IntegrityReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IntegrityReport
Auto Trait Implementations§
impl Freeze for IntegrityReport
impl RefUnwindSafe for IntegrityReport
impl Send for IntegrityReport
impl Sync for IntegrityReport
impl Unpin for IntegrityReport
impl UnsafeUnpin for IntegrityReport
impl UnwindSafe for IntegrityReport
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