pub struct StateTree { /* private fields */ }Expand description
The state tree during a replay.
Implementations§
Source§impl StateTree
impl StateTree
Sourcepub fn with_threads(threads: usize) -> Self
pub fn with_threads(threads: usize) -> Self
An empty tree that hashes changed slots on up to threads threads.
Sourcepub fn set(&mut self, key: [u8; 32], data: &[u8])
pub fn set(&mut self, key: [u8; 32], data: &[u8])
Sets an object, or removes it when data is empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateTree
impl RefUnwindSafe for StateTree
impl Send for StateTree
impl Sync for StateTree
impl Unpin for StateTree
impl UnsafeUnpin for StateTree
impl UnwindSafe for StateTree
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].