Skip to main content

Storage

Trait Storage 

Source
pub trait Storage: BasicStorage + Sync {
    // Required method
    fn clone(&self) -> Box<dyn Storage>;
}
Expand description

BasicStorage with Sync and clone.

Required Methods§

Source

fn clone(&self) -> Box<dyn Storage>

Clone.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§