pub enum Entry<V, B, C>where
V: Identities,{
Op(OpCompletion<V, B, C>),
Durable {
through: Epoch<V>,
},
Failed(Failed<V>),
Blocked {
through: Epoch<V>,
by: <V as Identities>::FailureId,
},
Abandoned {
failure: <V as Identities>::FailureId,
suspect: SuspectSet<V>,
markings: Vec<Marking<V>>,
},
Healed {
failure: <V as Identities>::FailureId,
suspect: SuspectSet<V>,
markings: Vec<Marking<V>>,
},
Marked {
failure: <V as Identities>::FailureId,
marking: Marking<V>,
},
LineageEnded {
lineage: <V as Identities>::Lineage,
abandoned_through: Option<<V as Identities>::EpochId>,
},
}Expand description
One entry of the instance’s completion queue (DI-D-13).
Variants§
Op(OpCompletion<V, B, C>)
A consumer operation completed.
Durable
The high-water mark of through’s lineage has reached it.
Failed(Failed<V>)
A durability failure was observed.
Blocked
A request’s flushes succeeded, but an unresolved failure at or below through prevents
reporting it. Fixed-size and allocation-free, so producing it is cheap.
Fields
by: <V as Identities>::FailureIdThe failure in the way.
Abandoned
The consumer abandoned a failure: its final record.
Fields
failure: <V as Identities>::FailureIdThe failure abandoned.
suspect: SuspectSet<V>Its suspect set, now declared lost.
Healed
A heal took effect (DI-D-12 (c)): the failure is resolved as healed, and this is its final record.
Fields
failure: <V as Identities>::FailureIdThe failure healed.
suspect: SuspectSet<V>Its suspect set.
Marked
A failure not yet resolved gained a marking.
LineageEnded
end_lineage took effect: every epoch of lineage not yet durable, through
abandoned_through, is abandoned (None if none was pending).
Fields
lineage: <V as Identities>::LineageThe lineage ended.
abandoned_through: Option<<V as Identities>::EpochId>The highest id abandoned, if any was.