pub struct VectorDiagnostics { /* private fields */ }Expand description
A captured invocation is shared by parallel work; it never samples a mutable current scope.
Implementations§
Source§impl VectorDiagnostics
impl VectorDiagnostics
pub fn control(&self) -> &StorageReadControl
Sourcepub fn observer(
collector: &CapturedDiagnostics,
relation: &str,
) -> StorageBackendResult<Arc<dyn VectorSearchObserver>>
pub fn observer( collector: &CapturedDiagnostics, relation: &str, ) -> StorageBackendResult<Arc<dyn VectorSearchObserver>>
Bind only contexts that are about to execute inside this invocation.
pub fn record( &self, relation: &str, field: &str, operation: VectorSearchOperation, result: &VectorQueryResult, ) -> StorageBackendResult<()>
Auto Trait Implementations§
impl !Freeze for VectorDiagnostics
impl !RefUnwindSafe for VectorDiagnostics
impl !UnwindSafe for VectorDiagnostics
impl Send for VectorDiagnostics
impl Sync for VectorDiagnostics
impl Unpin for VectorDiagnostics
impl UnsafeUnpin for VectorDiagnostics
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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