pub struct IndexStoreSnapshot { /* private fields */ }Expand description
IndexStoreSnapshot
Index-store snapshot row.
Implementations§
Source§impl IndexStoreSnapshot
impl IndexStoreSnapshot
Sourcepub const fn storage(&self) -> StoreSnapshotStorageMode
pub const fn storage(&self) -> StoreSnapshotStorageMode
Return diagnostic storage mode.
Sourcepub const fn allocation(&self) -> StoreAllocationIdentityCapability
pub const fn allocation(&self) -> StoreAllocationIdentityCapability
Return allocation-identity capability metadata.
Sourcepub const fn durability(&self) -> StoreDurability
pub const fn durability(&self) -> StoreDurability
Return durability capability metadata.
Sourcepub const fn commit(&self) -> StoreCommitParticipation
pub const fn commit(&self) -> StoreCommitParticipation
Return commit participation capability metadata.
Sourcepub const fn recovery(&self) -> StoreRecoveryCapability
pub const fn recovery(&self) -> StoreRecoveryCapability
Return recovery capability metadata.
Sourcepub const fn schema_metadata(&self) -> StoreSchemaMetadataCapability
pub const fn schema_metadata(&self) -> StoreSchemaMetadataCapability
Return schema-metadata persistence capability metadata.
Sourcepub const fn memory_id(&self) -> Option<u8>
pub const fn memory_id(&self) -> Option<u8>
Return stable-memory manager ID, when generated wiring supplied it.
Sourcepub const fn stable_key(&self) -> Option<&str>
pub const fn stable_key(&self) -> Option<&str>
Return durable stable-memory key, when generated wiring supplied it.
Sourcepub const fn schema_version(&self) -> Option<u32>
pub const fn schema_version(&self) -> Option<u32>
Return accepted schema/catalog version, when known.
Sourcepub const fn schema_fingerprint_method_version(&self) -> Option<u8>
pub const fn schema_fingerprint_method_version(&self) -> Option<u8>
Return accepted schema/catalog fingerprint method version, when known.
Sourcepub const fn schema_fingerprint(&self) -> Option<&str>
pub const fn schema_fingerprint(&self) -> Option<&str>
Return accepted schema/catalog fingerprint, when known.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more