pub struct QueryDiagnostics { /* private fields */ }Implementations§
Source§impl QueryDiagnostics
impl QueryDiagnostics
pub fn capture(&self) -> Option<CapturedDiagnostics>
Sourcepub fn bind_current(&self) -> StorageBackendResult<Option<CapturedScope>>
pub fn bind_current(&self) -> StorageBackendResult<Option<CapturedScope>>
Bind inherited worker state before executing expressions or host callbacks.
pub fn request(&self) -> InvocationRequest
pub fn request_scope(request: Option<InvocationRequest>) -> RequestScope
Sourcepub fn fork(&self) -> Self
pub fn fork(&self) -> Self
Keep session identity while giving the existing read worker an immutable inherited scope.
pub fn enter( &self, control: StorageReadControl, ) -> StorageBackendResult<DiagnosticsScope>
Sourcepub fn bind(
&self,
collector: &CapturedDiagnostics,
) -> StorageBackendResult<CapturedScope>
pub fn bind( &self, collector: &CapturedDiagnostics, ) -> StorageBackendResult<CapturedScope>
Install the driver’s fixed capture on the executing thread before invoking any callbacks.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QueryDiagnostics
impl !UnwindSafe for QueryDiagnostics
impl Freeze for QueryDiagnostics
impl Send for QueryDiagnostics
impl Sync for QueryDiagnostics
impl Unpin for QueryDiagnostics
impl UnsafeUnpin for QueryDiagnostics
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