pub struct RuntimeStatus {Show 22 fields
pub pid: i32,
pub hostname: String,
pub pgsync_version: String,
pub started_at: String,
pub updated_at: String,
pub stopped_at: Option<String>,
pub age_seconds: f64,
pub stale: bool,
pub state: String,
pub connection: String,
pub received_lsn: Lsn,
pub server_wal_end: Lsn,
pub committed_lsn: Lsn,
pub acked_lsn: Lsn,
pub apply_lag_bytes: i64,
pub txns_applied: i64,
pub rows_applied: i64,
pub txns_per_s: f64,
pub rows_per_s: f64,
pub reconnects: i64,
pub rss_bytes: Option<i64>,
pub last_apply_at: Option<String>,
}Fields§
§pid: i32§hostname: String§pgsync_version: String§started_at: String§updated_at: String§stopped_at: Option<String>§age_seconds: f64Seconds since the heartbeat row was last written.
stale: boolTrue when the row is older than three heartbeat intervals and the process did not record a clean stop: the process is probably gone.
state: String§connection: String§received_lsn: Lsn§server_wal_end: Lsn§committed_lsn: Lsn§acked_lsn: Lsn§apply_lag_bytes: i64§txns_applied: i64§rows_applied: i64§txns_per_s: f64§rows_per_s: f64§reconnects: i64§rss_bytes: Option<i64>§last_apply_at: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeStatus
impl RefUnwindSafe for RuntimeStatus
impl Send for RuntimeStatus
impl Sync for RuntimeStatus
impl Unpin for RuntimeStatus
impl UnsafeUnpin for RuntimeStatus
impl UnwindSafe for RuntimeStatus
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