pub struct Fetched {
pub records: Vec<Record>,
pub next_offset: i64,
}Expand description
What a fetch yielded, after filtering.
Fields§
§records: Vec<Record>Records the caller may have.
next_offset: i64Where the next fetch should start.
Advances past filtered records too, which is not a detail: a fetch whose every record was aborted must still make progress, or the consumer re-requests the same offset forever and stalls on a partition that is perfectly healthy.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fetched
impl RefUnwindSafe for Fetched
impl Send for Fetched
impl Sync for Fetched
impl Unpin for Fetched
impl UnsafeUnpin for Fetched
impl UnwindSafe for Fetched
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