Struct rkyv_dyn::ArchivedDynMetadata [−][src]
pub struct ArchivedDynMetadata<T: ?Sized> { /* fields omitted */ }
Expand description
The archived version of DynMetadata
.
Implementations
Creates a new ArchivedDynMetadata
for the given type.
Safety
out
must point to a valid location for an ArchivedDynMetadata<T>
.
Gets the vtable address for this trait object. With the vtable_cache
feature, this will
store the address locally on the first lookup.
Gets the DynMetadata
associated with this ArchivedDynMetadata
.
Trait Implementations
type Error = DynMetadataError
type Error = DynMetadataError
The error that may result from checking the type.
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut C
) -> Result<&'a Self, Self::Error>
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut C
) -> Result<&'a Self, Self::Error>
Checks whether the given pointer points to a valid value within the given context. Read more
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for ArchivedDynMetadata<T> where
T: RefUnwindSafe,
impl<T: ?Sized> Send for ArchivedDynMetadata<T> where
T: Send,
impl<T: ?Sized> Sync for ArchivedDynMetadata<T> where
T: Sync,
impl<T: ?Sized> Unpin for ArchivedDynMetadata<T> where
T: Unpin,
impl<T: ?Sized> UnwindSafe for ArchivedDynMetadata<T> where
T: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,