pub struct FetchWatermarks {
pub log_start: i64,
pub hw: i64,
pub lso: i64,
pub log_end: i64,
pub deliverable: i64,
}Expand description
The partition offsets one Fetch visibility decision reads.
They are one struct because they are five i64 values with five different
meanings, and a transposed call site would compile.
Fields§
§log_start: i64First offset the log still holds. Below it a fetch is out of range.
hw: i64High watermark: the exclusive bound of what the ISR has replicated.
lso: i64Last stable offset: the first offset an open transaction may cover.
log_end: i64Log end offset: the exclusive bound of what the leader holds.
deliverable: i64KFC-1 delivery watermark: the first offset that is not due yet.
Trait Implementations§
Source§impl Clone for FetchWatermarks
impl Clone for FetchWatermarks
Source§fn clone(&self) -> FetchWatermarks
fn clone(&self) -> FetchWatermarks
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 FetchWatermarks
Source§impl Debug for FetchWatermarks
impl Debug for FetchWatermarks
impl Eq for FetchWatermarks
Source§impl PartialEq for FetchWatermarks
impl PartialEq for FetchWatermarks
impl StructuralPartialEq for FetchWatermarks
Auto Trait Implementations§
impl Freeze for FetchWatermarks
impl RefUnwindSafe for FetchWatermarks
impl Send for FetchWatermarks
impl Sync for FetchWatermarks
impl Unpin for FetchWatermarks
impl UnsafeUnpin for FetchWatermarks
impl UnwindSafe for FetchWatermarks
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