pub struct ShardStatus {
pub shard: ShardId,
pub connections: usize,
pub worst_lag: u64,
}Expand description
What an operator can see about one shard without touching its task.
Fields§
§shard: ShardId§connections: usize§worst_lag: u64The furthest any attached connection is behind the others, in journal versions. The guide calls this the best single health indicator, and it is: a connection that stops advancing is one that has stopped keeping up.
Trait Implementations§
Source§impl Clone for ShardStatus
impl Clone for ShardStatus
Source§fn clone(&self) -> ShardStatus
fn clone(&self) -> ShardStatus
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 ShardStatus
impl Debug for ShardStatus
Source§impl PartialEq for ShardStatus
impl PartialEq for ShardStatus
impl Eq for ShardStatus
impl StructuralPartialEq for ShardStatus
Auto Trait Implementations§
impl Freeze for ShardStatus
impl RefUnwindSafe for ShardStatus
impl Send for ShardStatus
impl Sync for ShardStatus
impl Unpin for ShardStatus
impl UnwindSafe for ShardStatus
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