pub enum SubsumptionResult {
Subsumed {
filter: Box<Expression>,
},
Identical,
NoSubsumption,
}Expand description
Subsumption relationship between predicates
Variants§
Subsumed
New predicate is stricter - can filter cached results
Fields
§
filter: Box<Expression>The additional filter to apply to cached rows
Identical
Predicates are identical - use cached results directly
NoSubsumption
Cannot determine subsumption - must re-execute
Trait Implementations§
Source§impl Clone for SubsumptionResult
impl Clone for SubsumptionResult
Source§fn clone(&self) -> SubsumptionResult
fn clone(&self) -> SubsumptionResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubsumptionResult
impl RefUnwindSafe for SubsumptionResult
impl Send for SubsumptionResult
impl Sync for SubsumptionResult
impl Unpin for SubsumptionResult
impl UnsafeUnpin for SubsumptionResult
impl UnwindSafe for SubsumptionResult
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