Skip to main content

pax_runtime_api/
store.rs

1//! Store marker traits for runtime-managed state.
2
3/// Marker trait for types that can be inserted into a Pax local store.
4///
5/// Stored objects need to be unique for any given stack. Avoid inserting broad
6/// reusable types directly; prefer a local newtype that represents one specific
7/// store purpose.
8pub trait Store: 'static {}