pub struct WalCheckpoint {
pub busy: bool,
pub log_frames: i64,
pub checkpointed_frames: i64,
}Expand description
The three integers a PRAGMA wal_checkpoint returns. Moved to the apply plane
(ApplyStore::checkpoint_truncate is the TRUNCATE flavor’s home — design 309);
re-exported here so rindle_replica::WalCheckpoint and the maintenance report are
unchanged.
One PRAGMA wal_checkpoint(TRUNCATE) outcome (ApplyStore::checkpoint_truncate).
Fields§
§busy: boolTrue when the checkpoint could not run to completion (readers/writers held it off).
log_frames: i64Frames in the WAL at checkpoint time (-1 when unavailable).
checkpointed_frames: i64Frames successfully moved into the database (-1 when unavailable).
Trait Implementations§
Source§impl Clone for WalCheckpoint
impl Clone for WalCheckpoint
Source§fn clone(&self) -> WalCheckpoint
fn clone(&self) -> WalCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 WalCheckpoint
impl Debug for WalCheckpoint
Source§impl Default for WalCheckpoint
impl Default for WalCheckpoint
Source§fn default() -> WalCheckpoint
fn default() -> WalCheckpoint
Returns the “default value” for a type. Read more
Source§impl PartialEq for WalCheckpoint
impl PartialEq for WalCheckpoint
impl Copy for WalCheckpoint
impl Eq for WalCheckpoint
impl StructuralPartialEq for WalCheckpoint
Auto Trait Implementations§
impl Freeze for WalCheckpoint
impl RefUnwindSafe for WalCheckpoint
impl Send for WalCheckpoint
impl Sync for WalCheckpoint
impl Unpin for WalCheckpoint
impl UnsafeUnpin for WalCheckpoint
impl UnwindSafe for WalCheckpoint
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.