3 ms·
I think I'd implement Serialize on a different type and implement conversions from the foreign type to my serializable type. That would mean that the locations
by dureuill 3y ago
I think I'd implement Serialize on a different type and implement conversions from the foreign type to my serializable type.
That would mean that the locations where I want to serialize the foreign type would have to be marked with `.into()`, but that would be the sole maintenance overhead.