pub enum CaughtUpCredit {
ThisFetch,
PreviousFetch,
Unchanged,
}Expand description
Which fetch time, if any, a follower fetch proves the follower was caught up at.
Variants§
ThisFetch
The fetch reached the leader’s log end offset: caught up now.
PreviousFetch
The fetch reached the leader’s log end offset as of the previous fetch: caught up at the previous fetch’s time.
Unchanged
The fetch proves nothing new.
Trait Implementations§
Source§impl Clone for CaughtUpCredit
impl Clone for CaughtUpCredit
Source§fn clone(&self) -> CaughtUpCredit
fn clone(&self) -> CaughtUpCredit
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 CaughtUpCredit
Source§impl Debug for CaughtUpCredit
impl Debug for CaughtUpCredit
impl Eq for CaughtUpCredit
Source§impl PartialEq for CaughtUpCredit
impl PartialEq for CaughtUpCredit
impl StructuralPartialEq for CaughtUpCredit
Auto Trait Implementations§
impl Freeze for CaughtUpCredit
impl RefUnwindSafe for CaughtUpCredit
impl Send for CaughtUpCredit
impl Sync for CaughtUpCredit
impl Unpin for CaughtUpCredit
impl UnsafeUnpin for CaughtUpCredit
impl UnwindSafe for CaughtUpCredit
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