pub enum HashTrieIterKind<'a, R: HashTrieIterable> {
Relation(&'a R),
Singleton(SingletonHashTrieIter),
}Expand description
Either borrows a real HashTrieIterable relation or owns a synthetic
singleton.
HashTrieIterable::hash_trie_iter dispatches to the appropriate
inner variant. Lifetime 'a borrows the real relation; singletons
carry no reference.
Variants§
Relation(&'a R)
A real relation borrowed from the database.
Singleton(SingletonHashTrieIter)
A synthetic Const_<id> singleton introduced by the rewrite.
Trait Implementations§
Source§impl<R: HashTrieIterable> HashTrieIterable for HashTrieIterKind<'_, R>
impl<R: HashTrieIterable> HashTrieIterable for HashTrieIterKind<'_, R>
Source§fn hash_trie_iter(&self) -> impl HashTrieIterator
fn hash_trie_iter(&self) -> impl HashTrieIterator
Returns a
HashTrieIterator over this structure.impl<R: HashTrieIterable> JoinIterable for HashTrieIterKind<'_, R>
Auto Trait Implementations§
impl<'a, R> Freeze for HashTrieIterKind<'a, R>
impl<'a, R> RefUnwindSafe for HashTrieIterKind<'a, R>where
&'a R: RefUnwindSafe,
impl<'a, R> Send for HashTrieIterKind<'a, R>
impl<'a, R> Sync for HashTrieIterKind<'a, R>
impl<'a, R> Unpin for HashTrieIterKind<'a, R>
impl<'a, R> UnsafeUnpin for HashTrieIterKind<'a, R>where
&'a R: UnsafeUnpin,
impl<'a, R> UnwindSafe for HashTrieIterKind<'a, R>where
&'a R: 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