pub struct FetchFence {
pub discovering: bool,
pub role_leader: Option<u64>,
pub current_leader: Option<u64>,
pub current_epoch: u32,
}Expand description
The receiving node’s live fence for one Fetch response.
Fields§
§discovering: boolThe node is an observer with no known leader.
role_leader: Option<u64>The leader the live role fetches from.
current_leader: Option<u64>The leader in the durable quorum state.
current_epoch: u32Trait Implementations§
Source§impl Clone for FetchFence
impl Clone for FetchFence
Source§fn clone(&self) -> FetchFence
fn clone(&self) -> FetchFence
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 FetchFence
Source§impl Debug for FetchFence
impl Debug for FetchFence
impl Eq for FetchFence
Source§impl PartialEq for FetchFence
impl PartialEq for FetchFence
impl StructuralPartialEq for FetchFence
Auto Trait Implementations§
impl Freeze for FetchFence
impl RefUnwindSafe for FetchFence
impl Send for FetchFence
impl Sync for FetchFence
impl Unpin for FetchFence
impl UnsafeUnpin for FetchFence
impl UnwindSafe for FetchFence
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