Struct rkyv::de::deserializers::SharedDeserializeMap
source · [−]pub struct SharedDeserializeMap { /* private fields */ }
Expand description
An adapter that adds shared deserialization support to a deserializer.
Implementations
Trait Implementations
sourceimpl Debug for SharedDeserializeMap
impl Debug for SharedDeserializeMap
sourceimpl Default for SharedDeserializeMap
impl Default for SharedDeserializeMap
sourceimpl Fallible for SharedDeserializeMap
impl Fallible for SharedDeserializeMap
type Error = SharedDeserializeMapError
type Error = SharedDeserializeMapError
The error produced by any failing methods.
Gets the data pointer of a previously-deserialized shared pointer.
Adds the data address of a deserialized shared pointer to the registry.
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
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SharedDeserializeMap
impl !Send for SharedDeserializeMap
impl !Sync for SharedDeserializeMap
impl Unpin for SharedDeserializeMap
impl !UnwindSafe for SharedDeserializeMap
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more