pub trait FidlStorageConvertible {
type Storable;
type Loader;
const KEY: &'static str;
// Required methods
fn to_storable(self) -> Self::Storable;
fn from_storable(storable: Self::Storable) -> Self;
}
Required Associated Constants§
Required Associated Types§
Required Methods§
fn to_storable(self) -> Self::Storable
fn from_storable(storable: Self::Storable) -> Self
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.