pub trait RootView: View + Send {
// Required methods
fn save(&mut self) -> impl Future<Output = Result<(), ViewError>> + Send;
fn save_and_drop(self) -> impl Future<Output = Result<(), ViewError>> + Send;
}Expand description
A View whose staged modifications can be saved in storage.
Required 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.