pub struct BatchResult {
pub results: Vec<Result<QuantizedVector, QuantError>>,
pub stats: BatchStats,
}Expand description
Result of a batch quantization operation
Fields§
§results: Vec<Result<QuantizedVector, QuantError>>List of successfully quantized vectors (in order, failures are skipped or handled) Note: This implementation returns Results in the vector to maintain index alignment
stats: BatchStatsStatistics about the operation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchResult
impl RefUnwindSafe for BatchResult
impl Send for BatchResult
impl Sync for BatchResult
impl Unpin for BatchResult
impl UnwindSafe for BatchResult
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