pub enum P4 {
Show 15 variants
None,
Int(i32),
Int64(i64),
Real(f64),
Str(String),
Blob(Vec<u8>),
Collation(String),
FuncName(String),
FuncNameCollated(String, String),
Table(String),
Index(String),
Affinity(String),
PrecomputedHeader(PrecomputedRecordHeader),
TimeTravelCommitSeq(u64),
TimeTravelTimestamp(String),
}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).
PrecomputedHeader(PrecomputedRecordHeader)
A precomputed SQLite record header template for MakeRecord.
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
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
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more