pub enum BytecodeWriteError {
ChildFunctionLimitExceeded {
id: u32,
},
MissingResultRegister {
operand: BytecodeOperand,
},
MissingOperand {
opcode: Opcode,
index: usize,
},
UnexpectedOperand {
opcode: Opcode,
index: usize,
expected: &'static str,
actual: BytecodeOperand,
},
UnexpectedImmediate {
opcode: Opcode,
index: usize,
expected: &'static str,
actual: BytecodeImmediate,
},
VmConstantOutOfRange {
value: i32,
},
}Variants§
ChildFunctionLimitExceeded
MissingResultRegister
Fields
§
operand: BytecodeOperandMissingOperand
UnexpectedOperand
UnexpectedImmediate
VmConstantOutOfRange
Trait Implementations§
Source§impl Clone for BytecodeWriteError
impl Clone for BytecodeWriteError
Source§fn clone(&self) -> BytecodeWriteError
fn clone(&self) -> BytecodeWriteError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BytecodeWriteError
impl Debug for BytecodeWriteError
impl Eq for BytecodeWriteError
Source§impl PartialEq for BytecodeWriteError
impl PartialEq for BytecodeWriteError
impl StructuralPartialEq for BytecodeWriteError
Auto Trait Implementations§
impl Freeze for BytecodeWriteError
impl RefUnwindSafe for BytecodeWriteError
impl Send for BytecodeWriteError
impl Sync for BytecodeWriteError
impl Unpin for BytecodeWriteError
impl UnsafeUnpin for BytecodeWriteError
impl UnwindSafe for BytecodeWriteError
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