pub struct RuntimeMemory<M: Memory>(/* private fields */);Expand description
RuntimeMemory
Cloneable virtual memory opened through a runtime’s committed authority.
Implements Memory for stable structures without exposing the backing
memory or an alternate manager. Cloning does not require M: Clone.
Reads delegate to the upstream memory implementation, including its
optimized support for uninitialized destinations through Memory::read_unsafe.
Trait Implementations§
Source§impl<M: Memory> Clone for RuntimeMemory<M>
impl<M: Memory> Clone for RuntimeMemory<M>
Source§impl<M: Memory> Memory for RuntimeMemory<M>
impl<M: Memory> Memory for RuntimeMemory<M>
Auto Trait Implementations§
impl<M> !Freeze for RuntimeMemory<M>
impl<M> !RefUnwindSafe for RuntimeMemory<M>
impl<M> !Send for RuntimeMemory<M>
impl<M> !Sync for RuntimeMemory<M>
impl<M> !UnwindSafe for RuntimeMemory<M>
impl<M> Unpin for RuntimeMemory<M>
impl<M> UnsafeUnpin for RuntimeMemory<M>
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