pub trait Local: Send + Sync {
// Required methods
fn apply(&self, state: &State, purges_after: u64);
fn snapshot(&self) -> State;
}Expand description
Makes this process’s runtime state match a State; the default
applies to the process-wide stores.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".