Skip to main content

StoreSnapshotTrait

Trait StoreSnapshotTrait 

Source
pub trait StoreSnapshotTrait:
    Debug
    + Send
    + Sync {
    // Required methods
    fn clone_box(&self) -> Box<dyn StoreSnapshotTrait>;
    fn as_any(&self) -> &dyn Any;
}
Expand description

Trait for type-erased store snapshots.

Required Methods§

Source

fn clone_box(&self) -> Box<dyn StoreSnapshotTrait>

Source

fn as_any(&self) -> &dyn Any

Trait Implementations§

Source§

impl Clone for Box<dyn StoreSnapshotTrait>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§