pub enum BytecodeChunk {
Valid {
bytecode_version: u8,
type_version: u8,
strings: Vec<Vec<u8>>,
userdata_type_mappings: Vec<UserdataTypeMapping>,
protos: Vec<Proto>,
main_proto: u32,
},
Error {
message: Vec<u8>,
},
}Expand description
One decoded bytecode blob.
Variants§
Valid
Valid bytecode chunk.
Fields
§
userdata_type_mappings: Vec<UserdataTypeMapping>Userdata type-name mappings in wire order.
Error
Non-throwing upstream compile error bytecode.
Trait Implementations§
Source§impl Clone for BytecodeChunk
impl Clone for BytecodeChunk
Source§impl Debug for BytecodeChunk
impl Debug for BytecodeChunk
Source§impl<'de> Deserialize<'de> for BytecodeChunk
impl<'de> Deserialize<'de> for BytecodeChunk
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 BytecodeChunk
impl PartialEq for BytecodeChunk
Source§impl Serialize for BytecodeChunk
impl Serialize for BytecodeChunk
impl StructuralPartialEq for BytecodeChunk
Auto Trait Implementations§
impl Freeze for BytecodeChunk
impl RefUnwindSafe for BytecodeChunk
impl Send for BytecodeChunk
impl Sync for BytecodeChunk
impl Unpin for BytecodeChunk
impl UnsafeUnpin for BytecodeChunk
impl UnwindSafe for BytecodeChunk
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