pub struct RawMemory { /* private fields */ }Expand description
This is used to get raw memory access to any memory device.
Implementations§
Trait Implementations§
Source§impl FromMemoryBackend for RawMemory
impl FromMemoryBackend for RawMemory
Source§async fn from_memory_backend(memory: MemoryBackend) -> Result<Self>
async fn from_memory_backend(memory: MemoryBackend) -> Result<Self>
Create a memory-specific type from a
MemoryBackend. When created the
memory is automatically read to populate the fields of the type. Read moreSource§async fn initialize_memory_backend(memory: MemoryBackend) -> Result<Self>
async fn initialize_memory_backend(memory: MemoryBackend) -> Result<Self>
Get a specific memory by its ID and initialize it according to the defaults. Note that the
values will not be written to the memory by default, the user needs to handle this. Read more
Source§fn close_memory(self) -> MemoryBackend
fn close_memory(self) -> MemoryBackend
Close the memory and return the backend to the subsystem Read more
Auto Trait Implementations§
impl Freeze for RawMemory
impl RefUnwindSafe for RawMemory
impl Send for RawMemory
impl Sync for RawMemory
impl Unpin for RawMemory
impl UnwindSafe for RawMemory
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