Skip to main content

SharedStore

Type Alias SharedStore 

Source
pub type SharedStore = Arc<dyn LeafStore>;
Expand description

A shared handle to the device’s store.

On a target with atomic compare-and-swap this is alloc::sync::Arc, the same type as std::sync::Arc. On one without, it is portable_atomic_util::Arc. Build one with shared_store to write code that compiles on both.

Aliased Type§

pub struct SharedStore { /* private fields */ }