pub struct PartitionRecoveryOutcome {
pub median: Timestamp,
pub anomalous_peers: Vec<Timestamp>,
}Expand description
Fields§
§median: TimestampThe quorum-median timestamp the recovering node should adopt.
anomalous_peers: Vec<Timestamp>Peers whose last-known timestamp was a wide outlier relative to the median (a candidate constitutional-event / DAG-evidence anomaly).
Trait Implementations§
Source§impl Clone for PartitionRecoveryOutcome
impl Clone for PartitionRecoveryOutcome
Source§fn clone(&self) -> PartitionRecoveryOutcome
fn clone(&self) -> PartitionRecoveryOutcome
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 PartitionRecoveryOutcome
impl Debug for PartitionRecoveryOutcome
impl Eq for PartitionRecoveryOutcome
Source§impl PartialEq for PartitionRecoveryOutcome
impl PartialEq for PartitionRecoveryOutcome
impl StructuralPartialEq for PartitionRecoveryOutcome
Auto Trait Implementations§
impl Freeze for PartitionRecoveryOutcome
impl RefUnwindSafe for PartitionRecoveryOutcome
impl Send for PartitionRecoveryOutcome
impl Sync for PartitionRecoveryOutcome
impl Unpin for PartitionRecoveryOutcome
impl UnsafeUnpin for PartitionRecoveryOutcome
impl UnwindSafe for PartitionRecoveryOutcome
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