pub struct PossibleEmbeddingMistakes { /* private fields */ }Implementations§
Source§impl PossibleEmbeddingMistakes
impl PossibleEmbeddingMistakes
pub fn new(field_distribution: &FieldDistribution) -> Self
pub fn vector_mistakes(&self) -> impl Iterator<Item = (&str, u64)>
pub fn embedder_mistakes<'a>( &'a self, embedder_name: &'a str, unused_vectors_distributions: &'a UnusedVectorsDistribution, ) -> impl Iterator<Item = (&'a str, u64)> + 'a
pub fn embedder_mistakes_bump<'a, 'doc: 'a>( &'a self, embedder_name: &'a str, unused_vectors_distribution: &'a UnusedVectorsDistributionBump<'doc>, ) -> impl Iterator<Item = (&'a str, u64)> + 'a
Auto Trait Implementations§
impl Freeze for PossibleEmbeddingMistakes
impl RefUnwindSafe for PossibleEmbeddingMistakes
impl Send for PossibleEmbeddingMistakes
impl Sync for PossibleEmbeddingMistakes
impl Unpin for PossibleEmbeddingMistakes
impl UnwindSafe for PossibleEmbeddingMistakes
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more