Trait rkyv::de::PoolingExt
source · pub trait PoolingExt<E>: Pooling<E> {
// Provided method
fn deserialize_shared<T, P>(
&mut self,
value: &T::Archived,
) -> Result<*mut T, Self::Error>
where T: ArchiveUnsized + Pointee + LayoutRaw + ?Sized,
T::Metadata: Into<Metadata>,
Metadata: Into<T::Metadata>,
T::Archived: DeserializeUnsized<T, Self>,
P: SharedPointer<T>,
Self: Fallible<Error = E>,
E: Source { ... }
}Expand description
Helper methods for Pooling.
Provided Methods§
Checks whether the given reference has been deserialized and either uses
the existing shared pointer to it, or deserializes it and converts
it to a shared pointer with to_shared.
Object Safety§
This trait is not object safe.