pub trait Storable<P>: Send + Sync{
// Required methods
fn names(parent: &P) -> Vec<&str>;
fn item_type(parent: &P, item: &str) -> ItemType;
fn dims<'a>(parent: &'a P, item: &str) -> Vec<&'a str>;
fn get_all<'a>(&'a mut self, parent: &'a P) -> Vec<(&'a str, Option<Value>)>;
}
Required Methods§
fn names(parent: &P) -> Vec<&str>
fn item_type(parent: &P, item: &str) -> ItemType
fn dims<'a>(parent: &'a P, item: &str) -> Vec<&'a str>
fn get_all<'a>(&'a mut self, parent: &'a P) -> Vec<(&'a str, Option<Value>)>
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.