pub enum GateSite {
ParseOption(ParseOption),
AstDetector(DetectorKind),
GraphTypeMembership,
NameAdmission,
ProcedureDispatch,
Namespace,
CapabilityListing,
GatedElsewhere,
}Expand description
Where in the pipeline a preview feature’s gate is checked, for the
sites whose consumers a test can read. A feature gated where this
vocabulary cannot name the site (statement validation, run-time
evaluation, the executor’s graph-type layer) declares
GateSite::GatedElsewhere; a row never declares no site.
Variants§
ParseOption(ParseOption)
The lexer or parser decides it, through this parse option.
AstDetector(DetectorKind)
The front’s AST detector loop rejects the feature’s syntax.
GraphTypeMembership
The graph-type family: the front’s one graph-type walk reports the features a statement’s graph-type bodies use, checked in the same admission loop.
NameAdmission
A function name is admitted or hidden by the function registry.
ProcedureDispatch
Procedure dispatch gates a built-in procedure family.
Namespace
The namespace registry hides a fixed namespace.
CapabilityListing
A dbms.listCapabilities row lists only while the opt-in is set —
a row-content gate, not a call gate: the procedure stays callable
and its always-on rows are unchanged.
GatedElsewhere
Gated at a site this vocabulary does not name; the row’s own doc says where. Distinct from “ungated”: an empty site list is rejected.
Implementations§
Source§impl GateSite
impl GateSite
Sourcepub const ALL: &'static [GateSite]
pub const ALL: &'static [GateSite]
Every payload-less site, one row per variant — the enumerable
subset the audits iterate. The payload-carrying sites — those
whose owner is Parse or Detect — enumerate
through their own payload vocabularies
(ParseOption::ALL, DetectorKind::ALL); a new payload-less
variant joins this list, and the registry’s gate-site audit fails
if a declared site is missing from it.
Trait Implementations§
impl Copy for GateSite
impl Eq for GateSite
impl StructuralPartialEq for GateSite
Auto Trait Implementations§
impl Forget for GateSite
impl Freeze for GateSite
impl Move for GateSite
impl RefUnwindSafe for GateSite
impl Send for GateSite
impl Sync for GateSite
impl Unpin for GateSite
impl UnsafeUnpin for GateSite
impl UnwindSafe for GateSite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.