#[repr(C)]pub struct SandboxMemoryConfig {
pub memory_map: MemoryMap,
pub ro_data_fd_size: u32,
pub rw_data_fd_size: u32,
pub code_size: u32,
pub jump_table_size: u32,
pub sysreturn_address: u64,
}Expand description
The memory configuration used by a given program and/or sandbox instance.
Fields§
§memory_map: MemoryMap§ro_data_fd_size: u32§rw_data_fd_size: u32§code_size: u32§jump_table_size: u32§sysreturn_address: u64Trait Implementations§
Source§impl Clone for SandboxMemoryConfig
impl Clone for SandboxMemoryConfig
Source§fn clone(&self) -> SandboxMemoryConfig
fn clone(&self) -> SandboxMemoryConfig
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 moreAuto Trait Implementations§
impl Freeze for SandboxMemoryConfig
impl RefUnwindSafe for SandboxMemoryConfig
impl Send for SandboxMemoryConfig
impl Sync for SandboxMemoryConfig
impl Unpin for SandboxMemoryConfig
impl UnwindSafe for SandboxMemoryConfig
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