pub struct DocApiQuery<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiQuery<'a, I>
impl<'a, I: Invoker> DocApiQuery<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn match_<'call>(
&'call self,
params: &'call DocQueryMatchBoundParams,
) -> impl Future<Output = Result<DocQueryMatchResult>> + Send + 'call
pub fn match_<'call>( &'call self, params: &'call DocQueryMatchBoundParams, ) -> impl Future<Output = Result<DocQueryMatchResult>> + Send + 'call
Deterministic selector-based search returning mutation-grade addresses and text ranges. Use this to discover targets before any mutation.
Sourcepub async fn match_with_options(
&self,
params: &DocQueryMatchBoundParams,
options: InvokeOptions,
) -> Result<DocQueryMatchResult>
pub async fn match_with_options( &self, params: &DocQueryMatchBoundParams, options: InvokeOptions, ) -> Result<DocQueryMatchResult>
Deterministic selector-based search returning mutation-grade addresses and text ranges. Use this to discover targets before any mutation.
Auto Trait Implementations§
impl<'a, I> Freeze for DocApiQuery<'a, I>
impl<'a, I> RefUnwindSafe for DocApiQuery<'a, I>where
&'a I: RefUnwindSafe,
impl<'a, I> Send for DocApiQuery<'a, I>
impl<'a, I> Sync for DocApiQuery<'a, I>
impl<'a, I> Unpin for DocApiQuery<'a, I>
impl<'a, I> UnsafeUnpin for DocApiQuery<'a, I>where
&'a I: UnsafeUnpin,
impl<'a, I> UnwindSafe for DocApiQuery<'a, I>where
&'a I: UnwindSafe,
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