pub trait SMove: MayTransition { }Expand description
Storage backend whose state token can be consumed by value.
Use this when an API must move the backend representation itself rather
than just read or mutate the runtime value. Most transition methods only
need SMut.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl SMove for StorageStateOwned
impl SMove for StorageStateOwnedBox
impl SMove for StorageStateOwnedPinBox
Available on crate feature
alloc only.