pub struct Ack {
pub acked_sequence: u64,
pub in_memory_sequence: u64,
}Expand description
Ack message sent by the replica.
Carries two cursors so the primary’s response gate can evaluate
multi-level durability policies (see
crate::durability_policy):
acked_sequence— highest sequence persisted on the replica (O_DIRECTpwritereturned, durable behind PLP).in_memory_sequence— highest sequence the replica has accepted into its pipeline pre-journal. Always>= acked_sequence.
Fields§
§acked_sequence: u64§in_memory_sequence: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ack
impl RefUnwindSafe for Ack
impl Send for Ack
impl Sync for Ack
impl Unpin for Ack
impl UnsafeUnpin for Ack
impl UnwindSafe for Ack
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