Struct polkavm_common::zygote::SandboxMemoryConfig
source · #[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: u64
Trait Implementations§
source§impl Clone for SandboxMemoryConfig
impl Clone for SandboxMemoryConfig
source§fn clone(&self) -> SandboxMemoryConfig
fn clone(&self) -> SandboxMemoryConfig
Returns a copy 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 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