#[repr(u8)]pub enum InstructionType {
PrintStringIndex = 1,
PrintVariableIndex = 2,
PrintComplexVariable = 3,
PrintComplexFormat = 5,
Backtrace = 16,
ExprError = 32,
EndInstruction = 255,
}Expand description
Instruction types for trace events
Variants§
PrintStringIndex = 1
PrintVariableIndex = 2
PrintComplexVariable = 3
PrintComplexFormat = 5
Backtrace = 16
ExprError = 32
Structured runtime expression error/warning (control-flow or print context)
EndInstruction = 255
Trait Implementations§
Source§impl Clone for InstructionType
impl Clone for InstructionType
Source§fn clone(&self) -> InstructionType
fn clone(&self) -> InstructionType
Returns a duplicate of the value. Read more
1.0.0 · 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 InstructionType
impl Debug for InstructionType
Source§impl<'de> Deserialize<'de> for InstructionType
impl<'de> Deserialize<'de> for InstructionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InstructionType
impl PartialEq for InstructionType
Source§impl Serialize for InstructionType
impl Serialize for InstructionType
impl Copy for InstructionType
impl StructuralPartialEq for InstructionType
Auto Trait Implementations§
impl Freeze for InstructionType
impl RefUnwindSafe for InstructionType
impl Send for InstructionType
impl Sync for InstructionType
impl Unpin for InstructionType
impl UnwindSafe for InstructionType
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