(
self,
_: &'static str,
index: u32,
variant: &'static str,
_: usize,
)
| 426 | self.serialize_tuple(len) |
| 427 | } |
| 428 | fn serialize_tuple_variant( |
| 429 | self, |
| 430 | _: &'static str, |
| 431 | index: u32, |
| 432 | variant: &'static str, |
| 433 | _: usize, |
| 434 | ) -> SResult<Compound<'a>> { |
| 435 | self.small_number(3, index.into())?; |
| 436 | let parent = self.enter(variant); |
| 437 | Ok(Compound { |
| 438 | w: self, |
| 439 | parent, |
| 440 | pending: None, |
| 441 | }) |
| 442 | } |
| 443 | fn serialize_map(self, len: Option<usize>) -> SResult<Compound<'a>> { |
| 444 | self.small_number( |
| 445 | 4, |
no test coverage detected