pub enum PointerPermOutcome {
Unconstrained,
Constrained(Query),
DenyAll,
}Expand description
Stage two’s three outcomes. #[must_use], and every caller matches all three.
See the module note for why this is not Option<Query>.
Variants§
Unconstrained
No pointer permission applies. The query stands as it was.
Constrained(Query)
The query, narrowed.
DenyAll
Upstream’s return undefined. The caller must deny: an empty result for a find or a
count, and OBJECT_NOT_FOUND for a get, an update or a delete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PointerPermOutcome
impl RefUnwindSafe for PointerPermOutcome
impl Send for PointerPermOutcome
impl Sync for PointerPermOutcome
impl Unpin for PointerPermOutcome
impl UnsafeUnpin for PointerPermOutcome
impl UnwindSafe for PointerPermOutcome
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