pub struct QueryResultHook<'a> { /* private fields */ }Expand description
PostInvocationHook adapter around a QueryResultGuard + scope.
Trait Implementations§
Source§impl<'a> PostInvocationHook for QueryResultHook<'a>
impl<'a> PostInvocationHook for QueryResultHook<'a>
fn name(&self) -> &str
fn inspect( &self, ctx: &PostInvocationContext<'_>, response: &Value, ) -> PostInvocationVerdict
fn take_evidence(&self) -> Option<GuardEvidence>
Auto Trait Implementations§
impl<'a> Freeze for QueryResultHook<'a>
impl<'a> RefUnwindSafe for QueryResultHook<'a>
impl<'a> Send for QueryResultHook<'a>
impl<'a> Sync for QueryResultHook<'a>
impl<'a> Unpin for QueryResultHook<'a>
impl<'a> UnsafeUnpin for QueryResultHook<'a>
impl<'a> UnwindSafe for QueryResultHook<'a>
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