pub enum P4 {
}Expand description
The P4 operand of a VDBE instruction.
P4 is a polymorphic operand that can hold different types depending on the opcode.
Variants§
None
No P4 value.
Int(i32)
A 32-bit integer value.
Int64(i64)
A 64-bit integer value.
Real(f64)
A 64-bit float value.
Str(String)
A string value.
Blob(Vec<u8>)
A blob value.
Collation(String)
A collation sequence name.
FuncName(String)
A function name (for Function/PureFunc opcodes).
FuncNameCollated(String, String)
A function name with an associated collation sequence for DISTINCT
deduplication in aggregate functions (e.g. COUNT(DISTINCT col) where
col has COLLATE NOCASE).
Table(String)
A table name.
Index(String)
An index name (for IdxInsert/IdxDelete opcodes).
Affinity(String)
An affinity string (one char per column).
TimeTravelCommitSeq(u64)
Time-travel target: commit sequence for FOR SYSTEM_TIME AS OF COMMITSEQ <n>.
TimeTravelTimestamp(String)
Time-travel target: ISO-8601 timestamp for FOR SYSTEM_TIME AS OF '<ts>'.
Trait Implementations§
impl StructuralPartialEq for P4
Auto Trait Implementations§
impl Freeze for P4
impl RefUnwindSafe for P4
impl Send for P4
impl Sync for P4
impl Unpin for P4
impl UnsafeUnpin for P4
impl UnwindSafe for P4
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).