0.11.1
-
Support serializing dynamically sized bytes fields.
pub fn serialize<T, S>(bytes: &T, serializer: S) -> Result<S::Ok, S::Error> where - T: Serialize, + T: ?Sized + Serialize, S: Serializer, {...}
Support serializing dynamically sized bytes fields.
pub fn serialize<T, S>(bytes: &T, serializer: S) -> Result<S::Ok, S::Error>
where
- T: Serialize,
+ T: ?Sized + Serialize,
S: Serializer,
{...}