#[non_exhaustive]pub struct StreamPosition {
pub topic: String,
pub epoch: u32,
pub offset: u64,
}Expand description
Where a consumer stands in one stream of a topic: the last offset it committed it applied.
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§offset: u64Trait Implementations§
Source§impl Clone for StreamPosition
impl Clone for StreamPosition
Source§impl Debug for StreamPosition
impl Debug for StreamPosition
impl Eq for StreamPosition
Source§impl PartialEq for StreamPosition
impl PartialEq for StreamPosition
impl StructuralPartialEq for StreamPosition
Auto Trait Implementations§
impl Forget for StreamPosition
impl Freeze for StreamPosition
impl Move for StreamPosition
impl RefUnwindSafe for StreamPosition
impl Send for StreamPosition
impl Sync for StreamPosition
impl Unpin for StreamPosition
impl UnsafeUnpin for StreamPosition
impl UnwindSafe for StreamPosition
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