pub trait Memory: View {
// Required methods
fn store(&self, address: u64, value: u64);
fn release(&self, address: u64, value: u64);
fn cas(&self, address: u64, old: u64, new: u64) -> u64;
fn add(&self, address: u64, value: u64);
fn repeat(&self, limit: u32, body: impl FnMut() -> bool) -> bool;
// Provided methods
fn store_word(&self, base: u64, word: u64, value: u64) { ... }
fn corrupt(&self) { ... }
}Expand description
Word access to queues and tasks.
Required Methods§
Provided Methods§
Sourcefn store_word(&self, base: u64, word: u64, value: u64)
fn store_word(&self, base: u64, word: u64, value: u64)
Store to the word at word of base, see View::load_word.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".