#[repr(C, packed(1))]pub struct vcodesig {
pub magic: u32,
pub type: u32,
pub owner: u32,
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: u32
Magic, must be ‘VXV5’ 0x35565856 le
type: u32
Program type
owner: u32
Program originator
options: u32
Program options
Trait Implementations§
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