pub struct MemoryRuntimeApi;Expand description
MemoryRuntimeApi
High-level runtime bootstrap facade used by the supported public API.
Implementations§
Source§impl MemoryRuntimeApi
impl MemoryRuntimeApi
Sourcepub fn bootstrap_registry(
crate_name: &'static str,
start: u8,
end: u8,
) -> Result<MemoryRegistryInitSummary, MemoryRegistryError>
pub fn bootstrap_registry( crate_name: &'static str, start: u8, end: u8, ) -> Result<MemoryRegistryInitSummary, MemoryRegistryError>
Bootstrap eager-init hooks, the memory registry, and eager TLS for the given owner range.
Sourcepub fn bootstrap_registry_without_range() -> Result<MemoryRegistryInitSummary, MemoryRegistryError>
pub fn bootstrap_registry_without_range() -> Result<MemoryRegistryInitSummary, MemoryRegistryError>
Bootstrap eager-init hooks, flush deferred registry state, and then initialize eager TLS without reserving a new owner range.
Auto Trait Implementations§
impl Freeze for MemoryRuntimeApi
impl RefUnwindSafe for MemoryRuntimeApi
impl Send for MemoryRuntimeApi
impl Sync for MemoryRuntimeApi
impl Unpin for MemoryRuntimeApi
impl UnsafeUnpin for MemoryRuntimeApi
impl UnwindSafe for MemoryRuntimeApi
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