pub enum ScopeRegistryState {
Uninitialized,
Initialized,
PolicyOnly,
}Expand description
How the process declared its AST isolation registries.
Variants§
Uninitialized
Nothing was declared. Qail::with_rls REFUSES to run in this state —
silently scoping nothing was the original false-green.
Initialized
Registries were populated (from a schema or by explicit registration).
PolicyOnly
The application declared that isolation is enforced by DB policies
only; with_rls performs no AST injection on any table.
Trait Implementations§
Source§impl Clone for ScopeRegistryState
impl Clone for ScopeRegistryState
Source§fn clone(&self) -> ScopeRegistryState
fn clone(&self) -> ScopeRegistryState
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 ScopeRegistryState
Source§impl Debug for ScopeRegistryState
impl Debug for ScopeRegistryState
impl Eq for ScopeRegistryState
Source§impl PartialEq for ScopeRegistryState
impl PartialEq for ScopeRegistryState
impl StructuralPartialEq for ScopeRegistryState
Auto Trait Implementations§
impl Freeze for ScopeRegistryState
impl RefUnwindSafe for ScopeRegistryState
impl Send for ScopeRegistryState
impl Sync for ScopeRegistryState
impl Unpin for ScopeRegistryState
impl UnsafeUnpin for ScopeRegistryState
impl UnwindSafe for ScopeRegistryState
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