pub trait EsSnapshot:
Serialize
+ DeserializeOwned
+ Debug
+ Send
+ Sync
+ 'static {
const IS_SNAPSHOT: bool;
const FINGERPRINT: i64;
}Expand description
Implemented by #[derive(EsSnapshot)] for user state types and by hand for
NoSnapshot.
Required Associated Constants§
Sourceconst IS_SNAPSHOT: bool
const IS_SNAPSHOT: bool
false only for NoSnapshot.
const FINGERPRINT: i64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".