pub struct StoreHealthScope {
pub flush_backlog: bool,
pub replication: bool,
pub dispatch_lag: bool,
pub watermarks: bool,
}Expand description
Optional parts of a StoreHealthSnapshot that a caller needs.
The core fields (writable, last_error, page_cache_busy, transient_pool_deficient and
shutdown) are always filled. A part that is not requested keeps its Default value, so a
per-request caller such as send admission does not read the flush, replication, dispatch and
offset state that its policy does not consult.
Fields§
§flush_backlog: boolFill flush_backlog.
replication: boolFill replication_pending_count and replication_oldest_wait_millis.
dispatch_lag: boolFill dispatch_behind_bytes.
watermarks: boolFill appended_watermark and durable_watermark.
Implementations§
Trait Implementations§
Source§impl Clone for StoreHealthScope
impl Clone for StoreHealthScope
impl Copy for StoreHealthScope
Source§impl Debug for StoreHealthScope
impl Debug for StoreHealthScope
Source§impl Default for StoreHealthScope
impl Default for StoreHealthScope
impl Eq for StoreHealthScope
Source§impl PartialEq for StoreHealthScope
impl PartialEq for StoreHealthScope
impl StructuralPartialEq for StoreHealthScope
Auto Trait Implementations§
impl Forget for StoreHealthScope
impl Freeze for StoreHealthScope
impl Move for StoreHealthScope
impl RefUnwindSafe for StoreHealthScope
impl Send for StoreHealthScope
impl Sync for StoreHealthScope
impl Unpin for StoreHealthScope
impl UnsafeUnpin for StoreHealthScope
impl UnwindSafe for StoreHealthScope
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