pub struct StreamBatch { /* private fields */ }Expand description
Incremental batch source and stream contracts. A source-owned batch whose reservation remains held until consumer ownership transfer.
Implementations§
Source§impl StreamBatch
impl StreamBatch
Sourcepub fn new(batch: RecordBatch, reservation: ResourceReservation) -> Self
pub fn new(batch: RecordBatch, reservation: ResourceReservation) -> Self
Attach the reservation acquired before the source published this batch.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamBatch
impl !UnwindSafe for StreamBatch
impl Freeze for StreamBatch
impl Send for StreamBatch
impl Sync for StreamBatch
impl Unpin for StreamBatch
impl UnsafeUnpin for StreamBatch
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