Struct catalyst_entities::ArcSwapArchiver
source · pub struct ArcSwapArchiver;Trait Implementations§
source§impl<T, S> ArchiveWith<ArcSwapAny<T, S>> for ArcSwapArchiverwhere
T: RefCnt + Archive,
S: Strategy<T>,
impl<T, S> ArchiveWith<ArcSwapAny<T, S>> for ArcSwapArchiverwhere T: RefCnt + Archive, S: Strategy<T>,
source§unsafe fn resolve_with(
field: &ArcSwapAny<T, S>,
pos: usize,
resolver: Self::Resolver,
out: *mut Self::Archived
)
unsafe fn resolve_with( field: &ArcSwapAny<T, S>, pos: usize, resolver: Self::Resolver, out: *mut Self::Archived )
Resolves the archived type using a reference to the field type
F. Read moresource§impl<T, S, D> DeserializeWith<<T as Archive>::Archived, ArcSwapAny<T, S>, D> for ArcSwapArchiverwhere
T::Archived: Deserialize<T, D>,
T: RefCnt + Archive,
S: Strategy<T> + Default,
D: Fallible + ?Sized,
impl<T, S, D> DeserializeWith<<T as Archive>::Archived, ArcSwapAny<T, S>, D> for ArcSwapArchiverwhere T::Archived: Deserialize<T, D>, T: RefCnt + Archive, S: Strategy<T> + Default, D: Fallible + ?Sized,
source§fn deserialize_with(
field: &Archived<T>,
deserializer: &mut D
) -> Result<ArcSwapAny<T, S>, <D as Fallible>::Error>
fn deserialize_with( field: &Archived<T>, deserializer: &mut D ) -> Result<ArcSwapAny<T, S>, <D as Fallible>::Error>
Deserializes the field type
F using the given deserializer.source§impl<T, ST, S> SerializeWith<ArcSwapAny<T, ST>, S> for ArcSwapArchiverwhere
T: RefCnt + Serialize<S>,
ST: Strategy<T>,
S: ScratchSpace + Serializer + ?Sized,
impl<T, ST, S> SerializeWith<ArcSwapAny<T, ST>, S> for ArcSwapArchiverwhere T: RefCnt + Serialize<S>, ST: Strategy<T>, S: ScratchSpace + Serializer + ?Sized,
source§fn serialize_with(
field: &ArcSwapAny<T, ST>,
serializer: &mut S
) -> Result<Self::Resolver, <S as Fallible>::Error>
fn serialize_with( field: &ArcSwapAny<T, ST>, serializer: &mut S ) -> Result<Self::Resolver, <S as Fallible>::Error>
Serializes the field type
F using the given serializer.Auto Trait Implementations§
impl ArchiveCopy for ArcSwapArchiver
impl NoInteriorMutability for ArcSwapArchiver
impl RefUnwindSafe for ArcSwapArchiver
impl Send for ArcSwapArchiver
impl Sync for ArcSwapArchiver
impl Unpin for ArcSwapArchiver
impl UnwindSafe for ArcSwapArchiver
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.