pub struct RecipientAckObligations { /* private fields */ }Expand description
Validated durable delivery obligations for one participant ack frontier.
The outbox supplies its sorted live-obligation index, while the protocol owns participant/frontier binding and endpoint membership. Internal conversation-sequence gaps are legal; a forward ack endpoint must occur in this exact recipient index.
This testimony is move-only and cannot be assembled from independent public fields:
ⓘ
use liminal_protocol::lifecycle::RecipientAckObligations;
fn clone_testimony(value: &RecipientAckObligations) -> RecipientAckObligations {
value.clone()
}Implementations§
Source§impl RecipientAckObligations
impl RecipientAckObligations
Sourcepub fn try_new(
participant_id: ParticipantId,
acknowledged_through: DeliverySeq,
delivery_sequences: Vec<DeliverySeq>,
) -> Result<Self, RecipientAckObligationsError>
pub fn try_new( participant_id: ParticipantId, acknowledged_through: DeliverySeq, delivery_sequences: Vec<DeliverySeq>, ) -> Result<Self, RecipientAckObligationsError>
Validates one recipient’s complete current live-obligation index.
§Errors
Returns RecipientAckObligationsError when an obligation is already
discharged or the index is not strictly increasing and duplicate-free.
Trait Implementations§
Source§impl Debug for RecipientAckObligations
impl Debug for RecipientAckObligations
impl Eq for RecipientAckObligations
Source§impl PartialEq for RecipientAckObligations
impl PartialEq for RecipientAckObligations
impl StructuralPartialEq for RecipientAckObligations
Auto Trait Implementations§
impl Freeze for RecipientAckObligations
impl RefUnwindSafe for RecipientAckObligations
impl Send for RecipientAckObligations
impl Sync for RecipientAckObligations
impl Unpin for RecipientAckObligations
impl UnsafeUnpin for RecipientAckObligations
impl UnwindSafe for RecipientAckObligations
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