pub enum NormalizeOutcome {
Normalized(Normalized),
NotCacheable,
}Expand description
What normalize_statement produced.
Variants§
Normalized(Normalized)
The template key, the rewritten statement, and the values, all of one walk.
NotCacheable
The statement must not participate in the plan cache. Oversized
input, a lexer error token, an unparseable literal, a $__AUTO_*
name in the stream, or a list scan past its total step budget (an
adversarially nested payload — the parser’s own guards are then
the statement’s verdict). Never an error: the statement itself
parses and runs exactly as before.
Trait Implementations§
Source§impl Clone for NormalizeOutcome
impl Clone for NormalizeOutcome
Source§impl Debug for NormalizeOutcome
impl Debug for NormalizeOutcome
Source§impl PartialEq for NormalizeOutcome
impl PartialEq for NormalizeOutcome
impl StructuralPartialEq for NormalizeOutcome
Auto Trait Implementations§
impl Forget for NormalizeOutcome
impl Freeze for NormalizeOutcome
impl Move for NormalizeOutcome
impl RefUnwindSafe for NormalizeOutcome
impl Send for NormalizeOutcome
impl Sync for NormalizeOutcome
impl Unpin for NormalizeOutcome
impl UnsafeUnpin for NormalizeOutcome
impl UnwindSafe for NormalizeOutcome
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