pub enum Plan {
Probe,
Accumulate,
Merge,
}Expand description
How to answer a set operation.
Variants§
Probe
Walk the smallest set and question the others about each member.
Accumulate
Walk everything once into one counting table.
Merge
Step through every set at once, in order, comparing and never hashing.
Only possible when every operand is an intset, because that is the only
representation that holds its members in order. inter_with will
refuse this plan for anything else rather than answer wrongly.
Trait Implementations§
impl Copy for Plan
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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