pub struct ReconcileEntry {
pub key: String,
pub value: Vec<u8>,
pub timestamp_ms: u64,
pub node_id: String,
pub expires_at_ms: u64,
pub is_tombstone: bool,
pub logical_counter: u64,
}Expand description
A value page entry used only by correlated, bounded reconciliation.
Fields§
§key: String§value: Vec<u8>§timestamp_ms: u64§node_id: String§expires_at_ms: u64Optional key expiry (wall-clock ms). 0/absent = no expiry.
is_tombstone: boolTrue if this is a deletion tombstone.
logical_counter: u64Trait Implementations§
Source§impl Clone for ReconcileEntry
impl Clone for ReconcileEntry
Source§impl Debug for ReconcileEntry
impl Debug for ReconcileEntry
Source§impl Default for ReconcileEntry
impl Default for ReconcileEntry
impl Eq for ReconcileEntry
Source§impl Hash for ReconcileEntry
impl Hash for ReconcileEntry
Source§impl Message for ReconcileEntry
impl Message for ReconcileEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ReconcileEntry
impl PartialEq for ReconcileEntry
impl StructuralPartialEq for ReconcileEntry
Auto Trait Implementations§
impl Freeze for ReconcileEntry
impl RefUnwindSafe for ReconcileEntry
impl Send for ReconcileEntry
impl Sync for ReconcileEntry
impl Unpin for ReconcileEntry
impl UnsafeUnpin for ReconcileEntry
impl UnwindSafe for ReconcileEntry
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