pub struct RecordCommitted { /* private fields */ }Expand description
Ordinary record commit result.
Implementations§
Source§impl RecordCommitted
impl RecordCommitted
Sourcepub const fn new(
request: RecordAdmissionEnvelope,
delivery_seq: DeliverySeq,
) -> Self
pub const fn new( request: RecordAdmissionEnvelope, delivery_seq: DeliverySeq, ) -> Self
Constructs an ordinary commit and derives its verified sender from the authoritative request envelope.
Sourcepub const fn request(&self) -> &RecordAdmissionEnvelope
pub const fn request(&self) -> &RecordAdmissionEnvelope
Request envelope, without opaque payload.
Sourcepub const fn sender_participant_id(&self) -> ParticipantId
pub const fn sender_participant_id(&self) -> ParticipantId
Verified sender, exactly the request participant.
Sourcepub const fn delivery_seq(&self) -> DeliverySeq
pub const fn delivery_seq(&self) -> DeliverySeq
Assigned record sequence.
Trait Implementations§
Source§impl Clone for RecordCommitted
impl Clone for RecordCommitted
Source§fn clone(&self) -> RecordCommitted
fn clone(&self) -> RecordCommitted
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 RecordCommitted
impl Debug for RecordCommitted
impl Eq for RecordCommitted
Source§impl PartialEq for RecordCommitted
impl PartialEq for RecordCommitted
impl StructuralPartialEq for RecordCommitted
Auto Trait Implementations§
impl Freeze for RecordCommitted
impl RefUnwindSafe for RecordCommitted
impl Send for RecordCommitted
impl Sync for RecordCommitted
impl Unpin for RecordCommitted
impl UnsafeUnpin for RecordCommitted
impl UnwindSafe for RecordCommitted
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