pub trait FidlStorageConvertible {
type Storable: Persistable + Any;
const KEY: &'static str;
// Required methods
fn default_value() -> Self;
fn to_storable(self) -> Self::Storable;
fn from_storable(storable: Self::Storable) -> Self;
}
Required Associated Types§
type Storable: Persistable + Any
Required Associated Constants§
Required Methods§
fn default_value() -> Self
fn to_storable(self) -> Self::Storable
fn from_storable(storable: Self::Storable) -> Self
Object Safety§
This trait is not object safe.