pub struct SqliteRoundTripCounts {
pub get_pages: u64,
pub commit: u64,
}Expand description
Cumulative count of network round trips the VFS has issued to the engine.
get_pages counts SqliteGetPagesRequest fetches and commit counts
SqliteCommitRequest commits. Diffing two snapshots gives the round trips
performed by the work that ran between them, such as a SQLite transaction.
Fields§
§get_pages: u64§commit: u64Implementations§
Source§impl SqliteRoundTripCounts
impl SqliteRoundTripCounts
pub fn total(&self) -> u64
pub fn since(&self, earlier: SqliteRoundTripCounts) -> SqliteRoundTripCounts
Trait Implementations§
Source§impl Clone for SqliteRoundTripCounts
impl Clone for SqliteRoundTripCounts
impl Copy for SqliteRoundTripCounts
Source§impl Debug for SqliteRoundTripCounts
impl Debug for SqliteRoundTripCounts
Auto Trait Implementations§
impl Freeze for SqliteRoundTripCounts
impl RefUnwindSafe for SqliteRoundTripCounts
impl Send for SqliteRoundTripCounts
impl Sync for SqliteRoundTripCounts
impl Unpin for SqliteRoundTripCounts
impl UnsafeUnpin for SqliteRoundTripCounts
impl UnwindSafe for SqliteRoundTripCounts
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