pub struct QuiescenceReport {
pub acked: usize,
pub total: usize,
pub timed_out: bool,
pub remote_acked: usize,
pub remote_total: usize,
}Expand description
Result of ClusterKillSwitch::await_quiescence.
acked / total are the combined local + remote counts so existing
callers keep working; the remote_* fields break that down for clusters.
Fields§
§acked: usizeHow many parties acknowledged within the timeout (local + remote).
total: usizeHow many parties were expected to ack (local guarded + remote peers).
timed_out: booltrue if not all parties acked before the deadline.
remote_acked: usizeHow many remote peers acked their halt within the timeout.
remote_total: usizeHow many remote peers a halt was broadcast to (0 with no transport).
Trait Implementations§
Source§impl Clone for QuiescenceReport
impl Clone for QuiescenceReport
Source§fn clone(&self) -> QuiescenceReport
fn clone(&self) -> QuiescenceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuiescenceReport
impl Debug for QuiescenceReport
Source§impl PartialEq for QuiescenceReport
impl PartialEq for QuiescenceReport
Source§fn eq(&self, other: &QuiescenceReport) -> bool
fn eq(&self, other: &QuiescenceReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for QuiescenceReport
impl Eq for QuiescenceReport
impl StructuralPartialEq for QuiescenceReport
Auto Trait Implementations§
impl Freeze for QuiescenceReport
impl RefUnwindSafe for QuiescenceReport
impl Send for QuiescenceReport
impl Sync for QuiescenceReport
impl Unpin for QuiescenceReport
impl UnsafeUnpin for QuiescenceReport
impl UnwindSafe for QuiescenceReport
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.