pub struct ListStateStats {
pub measured_items: usize,
pub measured_blocks: usize,
pub retained_height_bytes: usize,
}Expand description
Retained variable-list metric usage for diagnostics and regression tests.
Fields§
§measured_items: usizeItems whose real laid-out height has replaced the estimate.
measured_blocks: usizeSparse 64-item metric blocks currently retained.
retained_height_bytes: usizePayload bytes retained by the sparse height blocks and compact block prefix index.
Trait Implementations§
Source§impl Clone for ListStateStats
impl Clone for ListStateStats
Source§fn clone(&self) -> ListStateStats
fn clone(&self) -> ListStateStats
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 moreimpl Copy for ListStateStats
Source§impl Debug for ListStateStats
impl Debug for ListStateStats
Source§impl Default for ListStateStats
impl Default for ListStateStats
Source§fn default() -> ListStateStats
fn default() -> ListStateStats
Returns the “default value” for a type. Read more
impl Eq for ListStateStats
Source§impl PartialEq for ListStateStats
impl PartialEq for ListStateStats
impl StructuralPartialEq for ListStateStats
Auto Trait Implementations§
impl Freeze for ListStateStats
impl RefUnwindSafe for ListStateStats
impl Send for ListStateStats
impl Sync for ListStateStats
impl Unpin for ListStateStats
impl UnsafeUnpin for ListStateStats
impl UnwindSafe for ListStateStats
Blanket Implementations§
impl<T> Action for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.