pub struct FrontierEntry {
pub seq: u64,
pub hlc: Hlc,
pub head: String,
}Expand description
Per-device frontier bookkeeping: the last op the checkpoint covers for
one device — its chain position (seq), stamp (hlc), and op_id
(head, the anchor a truncated log’s first retained prev links to).
Fields§
§seq: u64§hlc: Hlc§head: StringTrait Implementations§
Source§impl Clone for FrontierEntry
impl Clone for FrontierEntry
Source§fn clone(&self) -> FrontierEntry
fn clone(&self) -> FrontierEntry
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 FrontierEntry
impl Debug for FrontierEntry
Source§impl<'de> Deserialize<'de> for FrontierEntry
impl<'de> Deserialize<'de> for FrontierEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontierEntry
Source§impl PartialEq for FrontierEntry
impl PartialEq for FrontierEntry
Source§fn eq(&self, other: &FrontierEntry) -> bool
fn eq(&self, other: &FrontierEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FrontierEntry
impl Serialize for FrontierEntry
impl StructuralPartialEq for FrontierEntry
Auto Trait Implementations§
impl Freeze for FrontierEntry
impl RefUnwindSafe for FrontierEntry
impl Send for FrontierEntry
impl Sync for FrontierEntry
impl Unpin for FrontierEntry
impl UnsafeUnpin for FrontierEntry
impl UnwindSafe for FrontierEntry
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