pub struct WalCheckpointInfo {
pub busy: i64,
pub log_pages: i64,
pub checkpointed_pages: i64,
}Expand description
Information from a passive WAL checkpoint, as returned by PRAGMA wal_checkpoint(PASSIVE).
Fields§
§busy: i64Non-zero if the checkpoint was blocked by a concurrent reader or writer.
log_pages: i64The number of pages in the WAL log file.
checkpointed_pages: i64The number of pages successfully checkpointed back to the main database file.
Trait Implementations§
Source§impl Clone for WalCheckpointInfo
impl Clone for WalCheckpointInfo
Source§fn clone(&self) -> WalCheckpointInfo
fn clone(&self) -> WalCheckpointInfo
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 WalCheckpointInfo
impl Debug for WalCheckpointInfo
Source§impl<'de> Deserialize<'de> for WalCheckpointInfo
impl<'de> Deserialize<'de> for WalCheckpointInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for WalCheckpointInfo
impl Hash for WalCheckpointInfo
Source§impl JsonSchema for WalCheckpointInfo
impl JsonSchema for WalCheckpointInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for WalCheckpointInfo
impl Ord for WalCheckpointInfo
Source§fn cmp(&self, other: &WalCheckpointInfo) -> Ordering
fn cmp(&self, other: &WalCheckpointInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WalCheckpointInfo
impl PartialEq for WalCheckpointInfo
Source§impl PartialOrd for WalCheckpointInfo
impl PartialOrd for WalCheckpointInfo
Source§impl Serialize for WalCheckpointInfo
impl Serialize for WalCheckpointInfo
impl Copy for WalCheckpointInfo
impl Eq for WalCheckpointInfo
impl StructuralPartialEq for WalCheckpointInfo
Auto Trait Implementations§
impl Freeze for WalCheckpointInfo
impl RefUnwindSafe for WalCheckpointInfo
impl Send for WalCheckpointInfo
impl Sync for WalCheckpointInfo
impl Unpin for WalCheckpointInfo
impl UnsafeUnpin for WalCheckpointInfo
impl UnwindSafe for WalCheckpointInfo
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