pub enum FetchResponseMutation {
Reject,
Discover,
Snapshot,
Truncate,
Append,
HighWatermark,
}Expand description
The only response-derived mutation an admitted KRaft Fetch may perform.
Variants§
Reject
The response belongs to another leader, role, or epoch, or carries an error; apply nothing.
Discover
Attach to the advertised leader and refetch from it. The responder’s
identity plays no part: the host reaches the leader through the
leader’s own NodeEndpoints entry or its voter-set listener.
Snapshot
Truncate
Append
HighWatermark
Trait Implementations§
Source§impl Clone for FetchResponseMutation
impl Clone for FetchResponseMutation
Source§fn clone(&self) -> FetchResponseMutation
fn clone(&self) -> FetchResponseMutation
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 FetchResponseMutation
Source§impl Debug for FetchResponseMutation
impl Debug for FetchResponseMutation
impl Eq for FetchResponseMutation
Source§impl PartialEq for FetchResponseMutation
impl PartialEq for FetchResponseMutation
impl StructuralPartialEq for FetchResponseMutation
Auto Trait Implementations§
impl Freeze for FetchResponseMutation
impl RefUnwindSafe for FetchResponseMutation
impl Send for FetchResponseMutation
impl Sync for FetchResponseMutation
impl Unpin for FetchResponseMutation
impl UnsafeUnpin for FetchResponseMutation
impl UnwindSafe for FetchResponseMutation
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