pub trait Datastore {
// Required methods
fn source(self: Pin<&Self>) -> Pin<&Source>;
fn slot<T>(self: Pin<&Self>) -> Pin<&Slot<T>>
where T: Storable + 'static;
}Expand description
Internal trait to abstract out type-erased and concrete data stores.
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.