pub struct DatabaseStatus {
pub visible_commit_seq: CommitSeq,
pub last_transaction_id: TransactionId,
pub live_generation: CheckpointGeneration,
pub base_byte_size: u64,
pub log_byte_size: u64,
pub element_count: usize,
pub relation_count: usize,
pub incidence_count: usize,
pub catalog: CatalogSummary,
}Expand description
Fields§
§visible_commit_seq: CommitSeqLast visible commit sequence.
last_transaction_id: TransactionIdLast writer transaction ID burned by this handle.
This value is durable after a dirty commit and session-local after rollback.
live_generation: CheckpointGenerationLive base generation named by the superblock (the count of folds this store has undergone; gen-0 is the freshly created store).
base_byte_size: u64On-disk byte size of the live base file.
log_byte_size: u64On-disk byte size of the live delta-log (the tail recovery replays and the auto-checkpoint policy weighs against the base size).
element_count: usizeVisible element count.
relation_count: usizeVisible relation count.
incidence_count: usizeVisible incidence count.
catalog: CatalogSummaryCatalog-size summary.
Trait Implementations§
Source§impl Clone for DatabaseStatus
impl Clone for DatabaseStatus
Source§fn clone(&self) -> DatabaseStatus
fn clone(&self) -> DatabaseStatus
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 DatabaseStatus
Source§impl Debug for DatabaseStatus
impl Debug for DatabaseStatus
impl Eq for DatabaseStatus
Source§impl PartialEq for DatabaseStatus
impl PartialEq for DatabaseStatus
Source§fn eq(&self, other: &DatabaseStatus) -> bool
fn eq(&self, other: &DatabaseStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabaseStatus
Auto Trait Implementations§
impl Freeze for DatabaseStatus
impl RefUnwindSafe for DatabaseStatus
impl Send for DatabaseStatus
impl Sync for DatabaseStatus
impl Unpin for DatabaseStatus
impl UnsafeUnpin for DatabaseStatus
impl UnwindSafe for DatabaseStatus
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