pub struct TrieRecorder<'a, H: Hasher> { /* private fields */ }
Expand description
The TrieRecorder
implementation.
Trait Implementations§
Source§impl<'a, H: Hasher> TrieRecorder<<H as Hasher>::Out> for TrieRecorder<'a, H>
impl<'a, H: Hasher> TrieRecorder<<H as Hasher>::Out> for TrieRecorder<'a, H>
Source§fn record(&mut self, access: TrieAccess<'_, H::Out>)
fn record(&mut self, access: TrieAccess<'_, H::Out>)
Record the given
TrieAccess
. Read moreSource§fn trie_nodes_recorded_for_key(&self, key: &[u8]) -> RecordedForKey
fn trie_nodes_recorded_for_key(&self, key: &[u8]) -> RecordedForKey
Check if we have recorded any trie nodes for the given
key
. Read moreAuto Trait Implementations§
impl<'a, H> Freeze for TrieRecorder<'a, H>
impl<'a, H> !RefUnwindSafe for TrieRecorder<'a, H>
impl<'a, H> !Send for TrieRecorder<'a, H>
impl<'a, H> Sync for TrieRecorder<'a, H>
impl<'a, H> Unpin for TrieRecorder<'a, H>
impl<'a, H> !UnwindSafe for TrieRecorder<'a, H>
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
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>
Converts
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>
Converts
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 moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.