Trait mmtkvdb::storable::StorableWithOwned
source · [−]pub trait StorableWithOwned<T>: Storable {
unsafe fn owned_from_bytes_unchecked(bytes: &[u8]) -> T;
}
Expand description
Storable
types where the owning type is a certain
type
Required Methods
unsafe fn owned_from_bytes_unchecked(bytes: &[u8]) -> T
unsafe fn owned_from_bytes_unchecked(bytes: &[u8]) -> T
Converts from byte slice into (owned) Self