pub enum PruningPhase {
Initialized {
owner: String,
},
Performed {
owner: String,
obsolete_at: u64,
},
}Expand description
Per-(removed-node, owner) pruning state.
Variants§
Initialized
Pruning announced; not yet observed by every replica.
Performed
Pruning observed by every replica. The marker can be
garbage-collected after obsolete_at rounds have elapsed
since Performed was set.
Trait Implementations§
Source§impl Clone for PruningPhase
impl Clone for PruningPhase
Source§fn clone(&self) -> PruningPhase
fn clone(&self) -> PruningPhase
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 PruningPhase
impl Debug for PruningPhase
Source§impl<'de> Deserialize<'de> for PruningPhase
impl<'de> Deserialize<'de> for PruningPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PruningPhase
impl PartialEq for PruningPhase
Source§impl Serialize for PruningPhase
impl Serialize for PruningPhase
impl Eq for PruningPhase
impl StructuralPartialEq for PruningPhase
Auto Trait Implementations§
impl Freeze for PruningPhase
impl RefUnwindSafe for PruningPhase
impl Send for PruningPhase
impl Sync for PruningPhase
impl Unpin for PruningPhase
impl UnsafeUnpin for PruningPhase
impl UnwindSafe for PruningPhase
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