pub enum PreambleMode {
Execute,
Explain,
Profile,
}Expand description
The statement preamble mode (CIP-150): which of EXPLAIN/PROFILE
heads the statement, or neither. The preamble grammar is top-level
only and each keyword is admitted at most once, so exactly one mode
heads a statement — never a pair of flags that could disagree.
Variants§
Execute
No preamble keyword: the statement executes.
Explain
An EXPLAIN preamble: the statement compiles and its plan renders,
never executes.
Profile
A PROFILE preamble: the statement executes with per-operator
metrics attached.
Trait Implementations§
Source§impl Clone for PreambleMode
impl Clone for PreambleMode
impl Copy for PreambleMode
Source§impl Debug for PreambleMode
impl Debug for PreambleMode
Source§impl Default for PreambleMode
impl Default for PreambleMode
impl Eq for PreambleMode
Source§impl PartialEq for PreambleMode
impl PartialEq for PreambleMode
impl StructuralPartialEq for PreambleMode
Auto Trait Implementations§
impl Forget for PreambleMode
impl Freeze for PreambleMode
impl Move for PreambleMode
impl RefUnwindSafe for PreambleMode
impl Send for PreambleMode
impl Sync for PreambleMode
impl Unpin for PreambleMode
impl UnsafeUnpin for PreambleMode
impl UnwindSafe for PreambleMode
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
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
Compare self to
key and return true if they are equal.