#[non_exhaustive]pub struct Gap {
pub topic: String,
pub epoch: u32,
pub first: Option<u64>,
pub last: Option<u64>,
pub reason: GapReason,
}Expand description
Messages of a topic that will not come.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.topic: String§epoch: u32§first: Option<u64>The first and last offsets missing, when known.
last: Option<u64>§reason: GapReasonImplementations§
Trait Implementations§
impl Eq for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Forget for Gap
impl Freeze for Gap
impl Move for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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