Skip to main content

Snapshotable

Trait Snapshotable 

Source
pub trait Snapshotable {
    type Snapshot: Clone + Send + Sync + 'static;

    // Required method
    fn snapshot(&self) -> Self::Snapshot;
}

Required Associated Types§

Source

type Snapshot: Clone + Send + Sync + 'static

Required Methods§

Source

fn snapshot(&self) -> Self::Snapshot

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§