pub struct RetainedRecordCharge { /* private fields */ }Expand description
Exact durable charge keyed to one validated retained causal row.
The charge remains separate from RetainedCausalRecord because payload
bytes and storage framing belong to the server’s durability schema. The
projection requires a one-for-one key match before using any charge.
Implementations§
Source§impl RetainedRecordCharge
impl RetainedRecordCharge
Sourcepub const fn new(
delivery_seq: DeliverySeq,
admission_order: AdmissionOrder,
encoded_charge: ResourceVector,
) -> Self
pub const fn new( delivery_seq: DeliverySeq, admission_order: AdmissionOrder, encoded_charge: ResourceVector, ) -> Self
Creates one factual keyed durable-row charge.
Sourcepub const fn delivery_seq(self) -> DeliverySeq
pub const fn delivery_seq(self) -> DeliverySeq
Returns the durable delivery key.
Sourcepub const fn admission_order(self) -> AdmissionOrder
pub const fn admission_order(self) -> AdmissionOrder
Returns the immutable causal key.
Sourcepub const fn encoded_charge(self) -> ResourceVector
pub const fn encoded_charge(self) -> ResourceVector
Returns the exact entry/byte durability charge.
Trait Implementations§
Source§impl Clone for RetainedRecordCharge
impl Clone for RetainedRecordCharge
Source§fn clone(&self) -> RetainedRecordCharge
fn clone(&self) -> RetainedRecordCharge
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 RetainedRecordCharge
Source§impl Debug for RetainedRecordCharge
impl Debug for RetainedRecordCharge
impl Eq for RetainedRecordCharge
Source§impl PartialEq for RetainedRecordCharge
impl PartialEq for RetainedRecordCharge
impl StructuralPartialEq for RetainedRecordCharge
Auto Trait Implementations§
impl Freeze for RetainedRecordCharge
impl RefUnwindSafe for RetainedRecordCharge
impl Send for RetainedRecordCharge
impl Sync for RetainedRecordCharge
impl Unpin for RetainedRecordCharge
impl UnsafeUnpin for RetainedRecordCharge
impl UnwindSafe for RetainedRecordCharge
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