pub struct InvocationDiagnostics { /* private fields */ }Expand description
A captured invocation is shared by parallel work; it never samples a mutable current scope.
Implementations§
Source§impl InvocationDiagnostics
impl InvocationDiagnostics
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 InvocationDiagnostics
impl !RefUnwindSafe for InvocationDiagnostics
impl !UnwindSafe for InvocationDiagnostics
impl Send for InvocationDiagnostics
impl Sync for InvocationDiagnostics
impl Unpin for InvocationDiagnostics
impl UnsafeUnpin for InvocationDiagnostics
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