trait Slots {
// Required methods
fn slot<T>(self: Pin<&Self>) -> Pin<&Slot<T>>
where T: Storable + 'static;
fn all_slots() -> impl Iterator<Item = (TypeId, &'static str)>;
}Expand description
Internal helper to implement Datastore::slot recursively for a cons-list of slots.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.