rkyv 0.8.16

Zero-copy deserialization framework for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
macro_rules! impl_serialize_with_atomic_load {
    ($atomic:ty) => {
        impl<S, SO> $crate::with::SerializeWith<$atomic, S>
            for $crate::with::AtomicLoad<SO>
        where
            S: $crate::rancor::Fallible + ?Sized,
            SO: $crate::impls::core::with::atomic::LoadOrdering,
        {
            fn serialize_with(
                _: &$atomic,
                _: &mut S,
            ) -> Result<Self::Resolver, S::Error> {
                Ok(())
            }
        }
    };
}