(
self,
name: &'static str,
index: u32,
variant: &'static str,
len: usize,
)
| 456 | self.serialize_tuple(len) |
| 457 | } |
| 458 | fn serialize_struct_variant( |
| 459 | self, |
| 460 | name: &'static str, |
| 461 | index: u32, |
| 462 | variant: &'static str, |
| 463 | len: usize, |
| 464 | ) -> SResult<Compound<'a>> { |
| 465 | self.serialize_tuple_variant(name, index, variant, len) |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | pub fn encode<T: Serialize>(value: &T) -> Result<Vec<u8>> { |
nothing calls this directly
no test coverage detected