pub struct DummyQueryProcessor {}Expand description
§Dummy query processor implementation
This dummy query processor always returns the literal haystack as a
single non-matching Part.
This can be useful when you want to apply a function that expects a query processor,
without actually applying the query.
Implementations§
Source§impl DummyQueryProcessor
impl DummyQueryProcessor
pub fn create() -> DshApiResult<Self>
Trait Implementations§
Source§impl Clone for DummyQueryProcessor
impl Clone for DummyQueryProcessor
Source§fn clone(&self) -> DummyQueryProcessor
fn clone(&self) -> DummyQueryProcessor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DummyQueryProcessor
impl Debug for DummyQueryProcessor
Source§impl PartialEq for DummyQueryProcessor
impl PartialEq for DummyQueryProcessor
Source§impl QueryProcessor for DummyQueryProcessor
impl QueryProcessor for DummyQueryProcessor
impl StructuralPartialEq for DummyQueryProcessor
Auto Trait Implementations§
impl Freeze for DummyQueryProcessor
impl RefUnwindSafe for DummyQueryProcessor
impl Send for DummyQueryProcessor
impl Sync for DummyQueryProcessor
impl Unpin for DummyQueryProcessor
impl UnsafeUnpin for DummyQueryProcessor
impl UnwindSafe for DummyQueryProcessor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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