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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)