pub struct EpochEntry {
pub epoch: LeaderEpoch,
pub start_offset: Offset,
}Expand description
One leader epoch and the offset where it begins.
Fields§
§epoch: LeaderEpoch§start_offset: OffsetTrait Implementations§
Source§impl Clone for EpochEntry
impl Clone for EpochEntry
Source§fn clone(&self) -> EpochEntry
fn clone(&self) -> EpochEntry
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 EpochEntry
Source§impl Debug for EpochEntry
impl Debug for EpochEntry
impl Eq for EpochEntry
Source§impl Hash for EpochEntry
impl Hash for EpochEntry
Source§impl PartialEq for EpochEntry
impl PartialEq for EpochEntry
impl StructuralPartialEq for EpochEntry
Auto Trait Implementations§
impl Freeze for EpochEntry
impl RefUnwindSafe for EpochEntry
impl Send for EpochEntry
impl Sync for EpochEntry
impl Unpin for EpochEntry
impl UnsafeUnpin for EpochEntry
impl UnwindSafe for EpochEntry
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