pub struct AckRegression { /* private fields */ }Expand description
Continuous acknowledgement regressed below the cursor.
Implementations§
Source§impl AckRegression
impl AckRegression
Sourcepub const fn new(
request: ParticipantAckEnvelope,
current_cursor: DeliverySeq,
) -> Option<Self>
pub const fn new( request: ParticipantAckEnvelope, current_cursor: DeliverySeq, ) -> Option<Self>
Constructs a regression refusal for a requested boundary below 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) -> AckRegressionReason
pub const fn reason(&self) -> AckRegressionReason
Fixed regression reason.
Trait Implementations§
Source§impl Clone for AckRegression
impl Clone for AckRegression
Source§fn clone(&self) -> AckRegression
fn clone(&self) -> AckRegression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AckRegression
impl Debug for AckRegression
impl Eq for AckRegression
Source§impl PartialEq for AckRegression
impl PartialEq for AckRegression
impl StructuralPartialEq for AckRegression
Auto Trait Implementations§
impl Freeze for AckRegression
impl RefUnwindSafe for AckRegression
impl Send for AckRegression
impl Sync for AckRegression
impl Unpin for AckRegression
impl UnsafeUnpin for AckRegression
impl UnwindSafe for AckRegression
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