pub enum ChecksumResult {
Valid,
LegacyXorMismatch {
stored: u32,
computed: u32,
},
EccMismatch,
Unknown,
}Expand description
Result of verifying the checksum stored at the start of an ESE page.
Variants§
Valid
Stored checksum matches the computed value.
LegacyXorMismatch
Legacy XOR checksum: stored value does not match computed value.
EccMismatch
Vista+ ECC checksum: the stored ECC does not match the computed ECC.
Unknown
Stored checksum field is zero — page was never checksummed.
Trait Implementations§
Source§impl Clone for ChecksumResult
impl Clone for ChecksumResult
Source§fn clone(&self) -> ChecksumResult
fn clone(&self) -> ChecksumResult
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 ChecksumResult
impl Debug for ChecksumResult
impl Eq for ChecksumResult
Source§impl PartialEq for ChecksumResult
impl PartialEq for ChecksumResult
Source§fn eq(&self, other: &ChecksumResult) -> bool
fn eq(&self, other: &ChecksumResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChecksumResult
Auto Trait Implementations§
impl Freeze for ChecksumResult
impl RefUnwindSafe for ChecksumResult
impl Send for ChecksumResult
impl Sync for ChecksumResult
impl Unpin for ChecksumResult
impl UnsafeUnpin for ChecksumResult
impl UnwindSafe for ChecksumResult
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