Trait SerializeUnsized
pub trait SerializeUnsized<S>: ArchiveUnsized{
// Required method
fn serialize_unsized(
&self,
serializer: &mut S,
) -> Result<usize, <S as Fallible>::Error> ⓘ;
}
Available on crate feature
dep_rkyv
only.Expand description
A counterpart of Serialize
that’s suitable for unsized types.
See ArchiveUnsized
for examples of implementing SerializeUnsized
.