pub fn serialize<'a, T, S>(v: &Cow<'a, T>, s: S) -> Result<S::Ok, S::Error>where T: ProtocolEncoding + Clone, S: Serializer,