pub struct Tuple6Serializer<S0, S1, S2, S3, S4, S5>(/* private fields */);Expand description
Statically serializes the recursively formed tuple of each child serializer’s Target at roots or recursive carrier nodes. This zero-sized carrier is not registered independently.
Trait Implementations§
Source§impl<S0: Serializer, S1: Serializer, S2: Serializer, S3: Serializer, S4: Serializer, S5: Serializer> Serializer for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0: Serializer, S1: Serializer, S2: Serializer, S3: Serializer, S4: Serializer, S5: Serializer> Serializer for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
type Target = (<S0 as Serializer>::Target, <S1 as Serializer>::Target, <S2 as Serializer>::Target, <S3 as Serializer>::Target, <S4 as Serializer>::Target, <S5 as Serializer>::Target)
Source§fn write_data(
value: &Self::Target,
context: &mut WriteContext<'_>,
) -> Result<(), Error>
fn write_data( value: &Self::Target, context: &mut WriteContext<'_>, ) -> Result<(), Error>
Write the target body only.
Source§fn read_data(context: &mut ReadContext<'_>) -> Result<Self::Target, Error>
fn read_data(context: &mut ReadContext<'_>) -> Result<Self::Target, Error>
Read the target body only.
Source§fn default_value(context: &mut ReadContext<'_>) -> Result<Self::Target, Error>
fn default_value(context: &mut ReadContext<'_>) -> Result<Self::Target, Error>
Construct a target for a null or missing local value.
Source§fn read_arc_any(
context: &mut ReadContext<'_>,
) -> Result<Arc<dyn Any + Send + Sync>, Error>
fn read_arc_any( context: &mut ReadContext<'_>, ) -> Result<Arc<dyn Any + Send + Sync>, Error>
Read directly into the final owner for sync dynamic carriers.
Auto Trait Implementations§
impl<S0, S1, S2, S3, S4, S5> Freeze for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> RefUnwindSafe for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> Send for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> Sync for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> Unpin for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> UnsafeUnpin for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
impl<S0, S1, S2, S3, S4, S5> UnwindSafe for Tuple6Serializer<S0, S1, S2, S3, S4, S5>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more