Skip to main content

EsSnapshot

Trait EsSnapshot 

Source
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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl EsSnapshot for NoSnapshot

Source§

const IS_SNAPSHOT: bool = false

Source§

const FINGERPRINT: i64 = NO_SNAPSHOT_FINGERPRINT