pub struct GroupReadResult {
pub events: Vec<CdcEvent>,
pub gap: bool,
}Expand description
Outcome of a ConsumerGroupManager::read_group call.
Fields§
§events: Vec<CdcEvent>Events delivered to the consumer in this batch.
gap: booltrue when the ring evicted events before they could be delivered,
indicating the consumer has fallen behind.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupReadResult
impl RefUnwindSafe for GroupReadResult
impl Send for GroupReadResult
impl Sync for GroupReadResult
impl Unpin for GroupReadResult
impl UnsafeUnpin for GroupReadResult
impl UnwindSafe for GroupReadResult
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