Enum rustdb::run::Instruction[][src]

#[non_exhaustive]
pub enum Instruction {
Show 20 variants PushConst(Value), PushValue(CExpPtr<Value>), PushLocal(usize), PopToLocal(usize), Jump(usize), JumpIfFalse(usizeCExpPtr<bool>), Call(Rc<Function>), Return, Throw, Execute, ForInit(usizeBox<CTableExpression>), ForNext(usizeBox<ForNextInfo>), ForSortInit(usizeBox<CSelectExpression>), ForSortNext(usizeBox<(usize, usize, Assigns)>), DataOp(Box<DO>), Select(Box<CSelectExpression>), Set(Box<CSelectExpression>), PushInt(CExpPtr<i64>), PushFloat(CExpPtr<f64>), PushBool(CExpPtr<bool>),
}
Expand description

Instruction.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

PushConst(Value)

Tuple Fields

0: Value

PushValue(CExpPtr<Value>)

Tuple Fields

PushLocal(usize)

Tuple Fields

0: usize

PopToLocal(usize)

Tuple Fields

0: usize

Jump(usize)

Tuple Fields

0: usize

JumpIfFalse(usizeCExpPtr<bool>)

Tuple Fields

0: usize

Call(Rc<Function>)

Tuple Fields

Return

Throw

Execute

ForInit(usizeBox<CTableExpression>)

Tuple Fields

0: usize

ForNext(usizeBox<ForNextInfo>)

Tuple Fields

0: usize

ForSortInit(usizeBox<CSelectExpression>)

Tuple Fields

0: usize

ForSortNext(usizeBox<(usize, usize, Assigns)>)

Tuple Fields

0: usize

DataOp(Box<DO>)

Tuple Fields

0: Box<DO>

Select(Box<CSelectExpression>)

Tuple Fields

Set(Box<CSelectExpression>)

Tuple Fields

PushInt(CExpPtr<i64>)

Tuple Fields

PushFloat(CExpPtr<f64>)

Tuple Fields

PushBool(CExpPtr<bool>)

Tuple Fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.