pub enum ReplicaFetchMutation {
Reject,
Retry,
Truncate,
Append,
}Expand description
The only direct mutation class selected from one follower Fetch response.
Variants§
Reject
The response is not for the exact live request target.
Retry
The response is fenced or otherwise unsuccessful; error handling may retry or enter a separately guarded recovery path.
Truncate
Apply the KIP-320 divergence boundary and return without appending.
Append
Apply the successful response batches, then its high watermark.
Trait Implementations§
Source§impl Clone for ReplicaFetchMutation
impl Clone for ReplicaFetchMutation
Source§fn clone(&self) -> ReplicaFetchMutation
fn clone(&self) -> ReplicaFetchMutation
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 ReplicaFetchMutation
Source§impl Debug for ReplicaFetchMutation
impl Debug for ReplicaFetchMutation
impl Eq for ReplicaFetchMutation
Source§impl PartialEq for ReplicaFetchMutation
impl PartialEq for ReplicaFetchMutation
impl StructuralPartialEq for ReplicaFetchMutation
Auto Trait Implementations§
impl Freeze for ReplicaFetchMutation
impl RefUnwindSafe for ReplicaFetchMutation
impl Send for ReplicaFetchMutation
impl Sync for ReplicaFetchMutation
impl Unpin for ReplicaFetchMutation
impl UnsafeUnpin for ReplicaFetchMutation
impl UnwindSafe for ReplicaFetchMutation
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