Trait rkyv::SerializeUnsized
source · pub trait SerializeUnsized<S: Fallible + ?Sized>: ArchiveUnsized {
// Required method
fn serialize_unsized(&self, serializer: &mut S) -> Result<usize, S::Error>;
}
Expand description
A counterpart of Serialize
that’s suitable for unsized types.
See ArchiveUnsized
for examples of implementing SerializeUnsized
.