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