#[repr(C)]pub struct FileMappingInfo {
pub guest_addr: u64,
pub size: u64,
pub label: [u8; 64],
}Expand description
Describes a single file mapping in the guest address space.
Stored in the PEB’s file mappings array so the guest can discover which files have been mapped, at what address, and with what label.
Fields§
§guest_addr: u64The guest address where the file is mapped.
size: u64The page-aligned size of the mapping in bytes.
label: [u8; 64]Null-terminated C-style label (max 63 chars + null).
Trait Implementations§
Source§impl Clone for FileMappingInfo
impl Clone for FileMappingInfo
Source§fn clone(&self) -> FileMappingInfo
fn clone(&self) -> FileMappingInfo
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 FileMappingInfo
impl Debug for FileMappingInfo
Source§impl Default for FileMappingInfo
impl Default for FileMappingInfo
impl Copy for FileMappingInfo
Auto Trait Implementations§
impl Freeze for FileMappingInfo
impl RefUnwindSafe for FileMappingInfo
impl Send for FileMappingInfo
impl Sync for FileMappingInfo
impl Unpin for FileMappingInfo
impl UnsafeUnpin for FileMappingInfo
impl UnwindSafe for FileMappingInfo
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