pub struct DatabaseStats {Show 23 fields
pub file_size_bytes: i64,
pub file_size_human: String,
pub sqlite_version: String,
pub journal_mode: String,
pub auto_vacuum: String,
pub cache_size: i64,
pub page_size: i64,
pub page_count: i64,
pub freelist_count: i64,
pub encoding: String,
pub wal_checkpoint: Option<WalCheckpointStats>,
pub tables: Vec<TableStats>,
pub indexes: Vec<IndexStats>,
pub pool_size: u32,
pub pool_idle: u32,
pub integrity_check: String,
pub compile_options: Vec<String>,
pub memory_used: i64,
pub memory_high_water: i64,
pub cache_hit: i64,
pub cache_miss: i64,
pub cache_write: i64,
pub cache_spill: i64,
}Fields§
§file_size_bytes: i64§file_size_human: String§sqlite_version: String§journal_mode: String§auto_vacuum: String§cache_size: i64§page_size: i64§page_count: i64§freelist_count: i64§encoding: String§wal_checkpoint: Option<WalCheckpointStats>§tables: Vec<TableStats>§indexes: Vec<IndexStats>§pool_size: u32§pool_idle: u32§integrity_check: String§compile_options: Vec<String>§memory_used: i64§memory_high_water: i64§cache_hit: i64§cache_miss: i64§cache_write: i64§cache_spill: i64Trait Implementations§
Source§impl Debug for DatabaseStats
impl Debug for DatabaseStats
Auto Trait Implementations§
impl Freeze for DatabaseStats
impl RefUnwindSafe for DatabaseStats
impl Send for DatabaseStats
impl Sync for DatabaseStats
impl Unpin for DatabaseStats
impl UnsafeUnpin for DatabaseStats
impl UnwindSafe for DatabaseStats
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more