Trait Snapshots

Source
pub trait Snapshots {
    // Required method
    fn snapshot(&self) -> Snapshot<'_>;
}
Expand description

Structs implementing the Snapshots trait can be snapshotted.

Required Methods§

Source

fn snapshot(&self) -> Snapshot<'_>

Creates a snapshot and returns a struct representing it.

Implementors§