pub struct IndexStoreSnapshot { /* private fields */ }Expand description
IndexStoreSnapshot
Index-store snapshot row.
Implementations§
Source§impl IndexStoreSnapshot
impl IndexStoreSnapshot
Sourcepub const fn user_entries(&self) -> u64
pub const fn user_entries(&self) -> u64
Return user-namespace entry count.
Sourcepub const fn system_entries(&self) -> u64
pub const fn system_entries(&self) -> u64
Return system-namespace entry count.
Sourcepub const fn memory_bytes(&self) -> u64
pub const fn memory_bytes(&self) -> u64
Return memory usage in bytes.
Sourcepub const fn state(&self) -> IndexState
pub const fn state(&self) -> IndexState
Return the current explicit runtime lifecycle state for this index store snapshot.
Trait Implementations§
Source§impl CandidType for IndexStoreSnapshot
impl CandidType for IndexStoreSnapshot
Source§impl Clone for IndexStoreSnapshot
impl Clone for IndexStoreSnapshot
Source§fn clone(&self) -> IndexStoreSnapshot
fn clone(&self) -> IndexStoreSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexStoreSnapshot
impl Debug for IndexStoreSnapshot
Source§impl Default for IndexStoreSnapshot
impl Default for IndexStoreSnapshot
Source§fn default() -> IndexStoreSnapshot
fn default() -> IndexStoreSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexStoreSnapshot
impl<'de> Deserialize<'de> for IndexStoreSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndexStoreSnapshot
impl RefUnwindSafe for IndexStoreSnapshot
impl Send for IndexStoreSnapshot
impl Sync for IndexStoreSnapshot
impl Unpin for IndexStoreSnapshot
impl UnsafeUnpin for IndexStoreSnapshot
impl UnwindSafe for IndexStoreSnapshot
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