(
self,
name: &'static str,
_variant_index: u32,
variant: &'static str,
len: usize,
)
| 434 | } |
| 435 | |
| 436 | fn serialize_tuple_variant( |
| 437 | self, |
| 438 | name: &'static str, |
| 439 | _variant_index: u32, |
| 440 | variant: &'static str, |
| 441 | len: usize, |
| 442 | ) -> Result<PythonTupleVariantSerializer<'py, P>> { |
| 443 | let inner = self.serialize_tuple(len)?; |
| 444 | Ok(PythonTupleVariantSerializer { |
| 445 | name, |
| 446 | variant, |
| 447 | inner, |
| 448 | }) |
| 449 | } |
| 450 | |
| 451 | fn serialize_map(self, len: Option<usize>) -> Result<PythonMapSerializer<'py, P>> { |
| 452 | Ok(PythonMapSerializer { |
nothing calls this directly
no test coverage detected