pub struct AckGap { /* private fields */ }Expand description
Continuous acknowledgement crossed a gap.
Implementations§
Source§impl AckGap
impl AckGap
Sourcepub const fn new(
request: ParticipantAckEnvelope,
current_cursor: DeliverySeq,
) -> Option<Self>
pub const fn new( request: ParticipantAckEnvelope, current_cursor: DeliverySeq, ) -> Option<Self>
Constructs a gap refusal for a requested boundary above the unchanged cursor.
Sourcepub const fn request(&self) -> &ParticipantAckEnvelope
pub const fn request(&self) -> &ParticipantAckEnvelope
Request envelope.
Sourcepub const fn current_cursor(&self) -> DeliverySeq
pub const fn current_cursor(&self) -> DeliverySeq
Unchanged cursor.
Sourcepub const fn reason(&self) -> AckGapReason
pub const fn reason(&self) -> AckGapReason
Fixed gap reason.
Trait Implementations§
impl Eq for AckGap
impl StructuralPartialEq for AckGap
Auto Trait Implementations§
impl Freeze for AckGap
impl RefUnwindSafe for AckGap
impl Send for AckGap
impl Sync for AckGap
impl Unpin for AckGap
impl UnsafeUnpin for AckGap
impl UnwindSafe for AckGap
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