pub enum QueryPresence {
Resolve,
Defer,
}Expand description
Whether a keepsake-backed fact is resolved during query preparation.
Variants§
Resolve
Resolve the fact from the current principal’s active keepsakes.
Defer
Leave the fact unknown so query lowering can evaluate it per row.
Trait Implementations§
Source§impl Clone for QueryPresence
impl Clone for QueryPresence
Source§fn clone(&self) -> QueryPresence
fn clone(&self) -> QueryPresence
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 moreimpl Copy for QueryPresence
Source§impl Debug for QueryPresence
impl Debug for QueryPresence
Source§impl Default for QueryPresence
impl Default for QueryPresence
Source§fn default() -> QueryPresence
fn default() -> QueryPresence
Returns the “default value” for a type. Read more
impl Eq for QueryPresence
Source§impl PartialEq for QueryPresence
impl PartialEq for QueryPresence
impl StructuralPartialEq for QueryPresence
Auto Trait Implementations§
impl Freeze for QueryPresence
impl RefUnwindSafe for QueryPresence
impl Send for QueryPresence
impl Sync for QueryPresence
impl Unpin for QueryPresence
impl UnsafeUnpin for QueryPresence
impl UnwindSafe for QueryPresence
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