pub enum RecordAdmissionFaultClass {
Projection,
Order,
Sequence,
RequiredCapacity,
RefusalInvariant,
}Expand description
Coarse class of an ordinary-admission protocol fault, as it travels.
One variant per liminal_protocol::lifecycle::RecordAdmissionFault arm, and
deliberately nothing finer. The fault’s own Debug text names durable
counts, both marker ledgers, and internal selector state; that text is
preserved in the SERVER’s log, where an operator can read it, and never on
the wire, where a presenter could. What the presenter is owed is the one
fact its retry loop needs: this admission was answered, the answer is
terminal, and re-presenting the same bytes will be refused identically.
Variants§
Projection
The consuming ordinary fixed point rejected inconsistent durable facts.
Order
Nonzero-debt precedence order planning failed without wire exhaustion.
Sequence
Nonzero-debt precedence sequence planning failed without wire exhaustion.
RequiredCapacity
A capacity maximum could not be rebuilt through the shared selector.
RefusalInvariant
A fixed-point refusal failed to reproduce through its shared selector.
Implementations§
Source§impl RecordAdmissionFaultClass
impl RecordAdmissionFaultClass
Sourcepub const fn tag(self) -> RecordAdmissionFaultClassTag
pub const fn tag(self) -> RecordAdmissionFaultClassTag
Returns the exact scalar class tag implied by the selected variant.
Trait Implementations§
Source§impl Clone for RecordAdmissionFaultClass
impl Clone for RecordAdmissionFaultClass
Source§fn clone(&self) -> RecordAdmissionFaultClass
fn clone(&self) -> RecordAdmissionFaultClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more