Skip to main content

StateRestorer

Trait StateRestorer 

Source
pub trait StateRestorer<S: Snapshotable> {
    // Required method
    fn restore(snapshot: S::Snapshot) -> S;
}

Required Methods§

Source

fn restore(snapshot: S::Snapshot) -> S

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§