Struct sp_trie::cache::LocalNodeCacheLimiter
source · pub struct LocalNodeCacheLimiter { /* private fields */ }
Expand description
A limiter for the local node cache. This makes sure the local cache doesn’t grow too big.
Trait Implementations§
source§impl Default for LocalNodeCacheLimiter
impl Default for LocalNodeCacheLimiter
source§fn default() -> LocalNodeCacheLimiter
fn default() -> LocalNodeCacheLimiter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LocalNodeCacheLimiter
impl Send for LocalNodeCacheLimiter
impl Sync for LocalNodeCacheLimiter
impl Unpin for LocalNodeCacheLimiter
impl UnwindSafe for LocalNodeCacheLimiter
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, 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
.