Enum nt_hive::NtHiveError [−][src]
Central error type of nt-hive.
Variants
The checksum in the base block should be {expected}, but it is {actual}
The data at offset {offset:#010x} should have a size of {expected} bytes, but it only has {actual} bytes
The 4-byte signature field at offset {offset:#010x} should contain {expected:?}, but it contains {actual:?}
The struct at offset {offset:#010x} should have a size of {expected} bytes, but only {actual} bytes are left in the slice
Expected one of the key value data types {expected:?}, but found {actual:?}
Fields of InvalidKeyValueDataType
expected: &'static [KeyValueDataType]
actual: KeyValueDataType
The size field at offset {offset:#010x} specifies {expected} bytes, but only {actual} bytes are left in the slice
The size field at offset {offset:#010x} specifies {size} bytes, but they are not aligned to the expected {expected_alignment} bytes
The 2-byte signature field at offset {offset:#010x} should contain {expected:?}, but it contains {actual:?}
The sequence numbers in the base block do not match ({primary} != {secondary})
The cell at offset {offset:#010x} with a size of {size} bytes is unallocated
The clustering factor in the base block is expected to be {expected}, but it is {actual}
The file format in the base block is expected to be {expected}, but it is {actual}
The file type in the base block is expected to be {expected}, but it is {actual}
The key value data type at offset {offset:#010x} is {actual:#010x}, which is not supported
The version in the base block ({major}.{minor}) is unsupported
Trait Implementations
impl Clone for NtHiveError
[src]
fn clone(&self) -> NtHiveError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NtHiveError
[src]
impl Display for NtHiveError
[src]
impl Error for NtHiveError
[src]
Auto Trait Implementations
impl RefUnwindSafe for NtHiveError
[src]
impl Send for NtHiveError
[src]
impl Sync for NtHiveError
[src]
impl Unpin for NtHiveError
[src]
impl UnwindSafe for NtHiveError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,