Struct rkyv::std_impl::shared::ArchivedArc [−][src]
#[repr(transparent)]pub struct ArchivedArc<T: ArchivePointee + ?Sized>(_);
An archived Arc
.
This is a thin wrapper around a RelPtr
to the archived type.
Implementations
impl<T: ArchivePointee + ?Sized> ArchivedArc<T>
[src]
impl<T: ArchivePointee + ?Sized> ArchivedArc<T>
[src]Trait Implementations
impl<T: ArchivePointee + CheckBytes<C> + Pointee + ?Sized + 'static, C: ArchiveBoundsContext + SharedArchiveContext + ?Sized> CheckBytes<C> for ArchivedArc<T> where
T::ArchivedMetadata: CheckBytes<C>,
C::Error: Error,
<T as Pointee>::Metadata: LayoutMetadata<T>,
[src]
impl<T: ArchivePointee + CheckBytes<C> + Pointee + ?Sized + 'static, C: ArchiveBoundsContext + SharedArchiveContext + ?Sized> CheckBytes<C> for ArchivedArc<T> where
T::ArchivedMetadata: CheckBytes<C>,
C::Error: Error,
<T as Pointee>::Metadata: LayoutMetadata<T>,
[src]type Error = SharedPointerError<<T::ArchivedMetadata as CheckBytes<C>>::Error, T::Error, C::Error>
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>
[src]
value: *const Self,
context: &mut C
) -> Result<&'a Self, Self::Error>
impl<T: ArchivePointee + ?Sized> Deref for ArchivedArc<T>
[src]
impl<T: ArchivePointee + ?Sized> Deref for ArchivedArc<T>
[src]Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for ArchivedArc<T> where
T: RefUnwindSafe,
<T as ArchivePointee>::ArchivedMetadata: RefUnwindSafe,
impl<T: ?Sized> RefUnwindSafe for ArchivedArc<T> where
T: RefUnwindSafe,
<T as ArchivePointee>::ArchivedMetadata: RefUnwindSafe,
impl<T: ?Sized> Send for ArchivedArc<T> where
T: Send,
<T as ArchivePointee>::ArchivedMetadata: Send,
impl<T: ?Sized> Send for ArchivedArc<T> where
T: Send,
<T as ArchivePointee>::ArchivedMetadata: Send,
impl<T: ?Sized> Sync for ArchivedArc<T> where
T: Sync,
<T as ArchivePointee>::ArchivedMetadata: Sync,
impl<T: ?Sized> Sync for ArchivedArc<T> where
T: Sync,
<T as ArchivePointee>::ArchivedMetadata: Sync,
impl<T> !Unpin for ArchivedArc<T>
impl<T> !Unpin for ArchivedArc<T>
impl<T: ?Sized> UnwindSafe for ArchivedArc<T> where
T: UnwindSafe,
<T as ArchivePointee>::ArchivedMetadata: UnwindSafe,
impl<T: ?Sized> UnwindSafe for ArchivedArc<T> where
T: UnwindSafe,
<T as ArchivePointee>::ArchivedMetadata: UnwindSafe,
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata