pub enum Output {
AccountExtra(Nibbles, BranchNodeCompact),
StorageExtra(B256, Nibbles, BranchNodeCompact),
AccountWrong {
path: Nibbles,
expected: BranchNodeCompact,
found: BranchNodeCompact,
},
StorageWrong {
account: B256,
path: Nibbles,
expected: BranchNodeCompact,
found: BranchNodeCompact,
},
AccountMissing(Nibbles, BranchNodeCompact),
StorageMissing(B256, Nibbles, BranchNodeCompact),
Progress(Nibbles),
}target_family=wasm only.Expand description
Output describes an inconsistency found when comparing the hashed state tables
(HashedCursor) with that of the trie tables (TrieCursor). The hashed
tables are considered the source of truth; outputs are on the part of the trie tables.
Variants§
AccountExtra(Nibbles, BranchNodeCompact)
An extra account node was found.
StorageExtra(B256, Nibbles, BranchNodeCompact)
An extra storage node was found.
AccountWrong
An account node had the wrong value.
Fields
expected: BranchNodeCompactThe node’s expected value.
found: BranchNodeCompactThe node’s found value.
StorageWrong
A storage node had the wrong value.
Fields
account: B256The account the storage trie belongs to.
expected: BranchNodeCompactThe node’s expected value.
found: BranchNodeCompactThe node’s found value.
AccountMissing(Nibbles, BranchNodeCompact)
An account node was missing.
StorageMissing(B256, Nibbles, BranchNodeCompact)
A storage node was missing.
Progress(Nibbles)
Progress indicator with the path of the last verified account trie node.
Trait Implementations§
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> MaybeDebug for Twhere
T: Debug,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes
Size for each variant:
AccountExtra: 104 bytesStorageExtra: 136 bytesAccountWrong: 152 bytesStorageWrong: 168 bytesAccountMissing: 104 bytesStorageMissing: 136 bytesProgress: 56 bytes