pub struct NonzeroDebtAckOperation { /* private fields */ }Expand description
Durable facts of one nonzero-debt participant cursor acknowledgement, as recorded by the shell.
Implementations§
Source§impl NonzeroDebtAckOperation
impl NonzeroDebtAckOperation
Sourcepub const fn new(commit: &NonzeroParticipantAckCommit) -> Self
pub const fn new(commit: &NonzeroParticipantAckCommit) -> Self
Creates the ack event body from the crate’s nonzero-debt ack commit.
Sourcepub const fn conversation_id(self) -> ConversationId
pub const fn conversation_id(self) -> ConversationId
Returns the conversation whose participant acknowledged.
Sourcepub const fn participant_id(self) -> ParticipantId
pub const fn participant_id(self) -> ParticipantId
Returns the acknowledging participant.
Sourcepub const fn capability_generation(self) -> Generation
pub const fn capability_generation(self) -> Generation
Returns the presented capability generation.
Sourcepub const fn through_seq(self) -> DeliverySeq
pub const fn through_seq(self) -> DeliverySeq
Returns the committed cumulative cursor boundary.
Trait Implementations§
Source§impl Clone for NonzeroDebtAckOperation
impl Clone for NonzeroDebtAckOperation
Source§fn clone(&self) -> NonzeroDebtAckOperation
fn clone(&self) -> NonzeroDebtAckOperation
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 moreimpl Copy for NonzeroDebtAckOperation
Source§impl Debug for NonzeroDebtAckOperation
impl Debug for NonzeroDebtAckOperation
impl Eq for NonzeroDebtAckOperation
Source§impl PartialEq for NonzeroDebtAckOperation
impl PartialEq for NonzeroDebtAckOperation
impl StructuralPartialEq for NonzeroDebtAckOperation
Auto Trait Implementations§
impl Freeze for NonzeroDebtAckOperation
impl RefUnwindSafe for NonzeroDebtAckOperation
impl Send for NonzeroDebtAckOperation
impl Sync for NonzeroDebtAckOperation
impl Unpin for NonzeroDebtAckOperation
impl UnsafeUnpin for NonzeroDebtAckOperation
impl UnwindSafe for NonzeroDebtAckOperation
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