pub struct FeedBatch {
pub generation: u64,
pub next_offset: u64,
pub frames: Vec<FeedFrame>,
}Expand description
A batch of change frames plus the cursor to resume from.
Fields§
§generation: u64The stream’s current generation.
next_offset: u64Offset to pass to the next Connection::feed_read.
frames: Vec<FeedFrame>Delivered frames, offset order. May be empty (caught up).
Trait Implementations§
impl Eq for FeedBatch
impl StructuralPartialEq for FeedBatch
Auto Trait Implementations§
impl Freeze for FeedBatch
impl RefUnwindSafe for FeedBatch
impl Send for FeedBatch
impl Sync for FeedBatch
impl Unpin for FeedBatch
impl UnsafeUnpin for FeedBatch
impl UnwindSafe for FeedBatch
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