pub trait StateReads: Send + Sync {
type Error: Debug + Display + Send;
type Pre: StateRead<Error = Self::Error>;
type Post: StateRead<Error = Self::Error>;
// Required methods
fn pre(&self) -> &Self::Pre;
fn post(&self) -> &Self::Post;
}Expand description
Pre and post sync state reads.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".