pub struct DbHealthStatus {
pub latency_ms: u64,
pub pool_size: u32,
pub pool_idle: u32,
pub db_size_bytes: u64,
pub freelist_pages: u64,
}Available on crate feature
sqlite only.Expand description
Database health status returned by SqliteDatabase::health_check.
Fields§
§latency_ms: u64Round-trip latency to DB in milliseconds
pool_size: u32Total connections in pool
pool_idle: u32Idle connections available
db_size_bytes: u64Total database file size in bytes
freelist_pages: u64Free pages available for reuse
Trait Implementations§
Source§impl Clone for DbHealthStatus
impl Clone for DbHealthStatus
Source§fn clone(&self) -> DbHealthStatus
fn clone(&self) -> DbHealthStatus
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 moreSource§impl Debug for DbHealthStatus
impl Debug for DbHealthStatus
Auto Trait Implementations§
impl Freeze for DbHealthStatus
impl RefUnwindSafe for DbHealthStatus
impl Send for DbHealthStatus
impl Sync for DbHealthStatus
impl Unpin for DbHealthStatus
impl UnsafeUnpin for DbHealthStatus
impl UnwindSafe for DbHealthStatus
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