pub trait Sram {
// Provided methods
fn save(&self, _path: impl AsRef<Path>) -> Result<()> { ... }
fn load(&mut self, _path: impl AsRef<Path>) -> Result<()> { ... }
}
Expand description
Trait for types that can save RAM to disk.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.