pub struct StorageTraversalCorruption { /* private fields */ }Expand description
Typed load-bearing physical traversal failure.
Implementations§
Source§impl StorageTraversalCorruption
impl StorageTraversalCorruption
Sourcepub const fn diagnostic_code(&self) -> u16
pub const fn diagnostic_code(&self) -> u16
Return the stable compact diagnostic code.
Sourcepub const fn store_path(&self) -> &str
pub const fn store_path(&self) -> &str
Borrow the affected store path.
Sourcepub const fn container(&self) -> IntegrityPhysicalContainer
pub const fn container(&self) -> IntegrityPhysicalContainer
Return the affected physical container.
Sourcepub const fn phase(&self) -> IntegrityPhase
pub const fn phase(&self) -> IntegrityPhase
Return the phase whose physical traversal failed.
Sourcepub fn last_verified_physical_key(&self) -> Option<&[u8]>
pub fn last_verified_physical_key(&self) -> Option<&[u8]>
Borrow the last physical key whose classification completed.
Trait Implementations§
Source§impl Clone for StorageTraversalCorruption
impl Clone for StorageTraversalCorruption
Source§fn clone(&self) -> StorageTraversalCorruption
fn clone(&self) -> StorageTraversalCorruption
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 StorageTraversalCorruption
impl Debug for StorageTraversalCorruption
Source§impl<'de> Deserialize<'de> for StorageTraversalCorruption
impl<'de> Deserialize<'de> for StorageTraversalCorruption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageTraversalCorruption
impl StructuralPartialEq for StorageTraversalCorruption
Auto Trait Implementations§
impl Freeze for StorageTraversalCorruption
impl RefUnwindSafe for StorageTraversalCorruption
impl Send for StorageTraversalCorruption
impl Sync for StorageTraversalCorruption
impl Unpin for StorageTraversalCorruption
impl UnsafeUnpin for StorageTraversalCorruption
impl UnwindSafe for StorageTraversalCorruption
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