pub struct VectorBatcher { /* private fields */ }Expand description
Server-side micro-batcher for vector embeddings.
Implementations§
Source§impl VectorBatcher
impl VectorBatcher
Sourcepub const fn from_sender(tx: UnboundedSender<(Value, Sender<Value>)>) -> Self
pub const fn from_sender(tx: UnboundedSender<(Value, Sender<Value>)>) -> Self
Create from a channel sender.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VectorBatcher
impl RefUnwindSafe for VectorBatcher
impl Send for VectorBatcher
impl Sync for VectorBatcher
impl Unpin for VectorBatcher
impl UnsafeUnpin for VectorBatcher
impl UnwindSafe for VectorBatcher
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