pub struct Batched<'a> {
pub data_ref: &'a DataRef,
pub batch_size: usize,
}Expand description
Batched forward: read rows from a DataStore in fixed-size batches. Keeps memory bounded — only one batch is materialized at a time.
Fields§
§data_ref: &'a DataRef§batch_size: usizeTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Batched<'a>
impl<'a> RefUnwindSafe for Batched<'a>
impl<'a> Send for Batched<'a>
impl<'a> Sync for Batched<'a>
impl<'a> Unpin for Batched<'a>
impl<'a> UnsafeUnpin for Batched<'a>
impl<'a> UnwindSafe for Batched<'a>
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