pub enum StabilityState {
Pending,
Partial {
delivered_to: HashSet<String>,
pending_for: HashSet<String>,
},
Stable,
Unknown,
}Expand description
State of stability tracking for a single item.
Variants§
Pending
Not yet delivered to any peer.
Partial
Delivered to some but not all peers.
Stable
Delivered to all tracked peers - safe to compact.
Unknown
Unknown state (no tracking info).
Trait Implementations§
Source§impl Clone for StabilityState
impl Clone for StabilityState
Source§fn clone(&self) -> StabilityState
fn clone(&self) -> StabilityState
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 StabilityState
impl Debug for StabilityState
Source§impl PartialEq for StabilityState
impl PartialEq for StabilityState
impl Eq for StabilityState
impl StructuralPartialEq for StabilityState
Auto Trait Implementations§
impl Freeze for StabilityState
impl RefUnwindSafe for StabilityState
impl Send for StabilityState
impl Sync for StabilityState
impl Unpin for StabilityState
impl UnwindSafe for StabilityState
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