#[repr(C, packed(1))]pub struct vcodesig {
pub magic: u32,
pub type: u32,
pub owner: u32,
pub pad: [u32; 2],
pub options: u32,
}Expand description
Code Signature
The first 16 bytes of a user code binary should contain the user code signature. For simple user code programs this will be created by the startup code in the runtime library, certain types of user code, for example a virtual machine, may override the default settings to cause the V5 system code to enable custom functionality yet TBD.
Fields§
§magic: u32Magic, must be ‘VXV5’ 0x35565856 le
type: u32Program type
owner: u32Program originator
pad: [u32; 2]§options: u32Program options
Trait Implementations§
source§impl PartialEq for vcodesig
impl PartialEq for vcodesig
impl Copy for vcodesig
impl Eq for vcodesig
impl StructuralPartialEq for vcodesig
Auto Trait Implementations§
impl Freeze for vcodesig
impl RefUnwindSafe for vcodesig
impl Send for vcodesig
impl Sync for vcodesig
impl Unpin for vcodesig
impl UnwindSafe for vcodesig
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