(input: Self)
| 74 | |
| 75 | impl SerializeMessage for TestData { |
| 76 | fn serialize_message(input: Self) -> Result<producer::Message, PulsarError> { |
| 77 | let payload = serde_json::to_vec(&input).map_err(|e| PulsarError::Custom(e.to_string()))?; |
| 78 | Ok(producer::Message { |
| 79 | payload, |
| 80 | ..Default::default() |
| 81 | }) |
| 82 | } |
| 83 | } |
| 84 | |
| 85 |
nothing calls this directly
no outgoing calls
no test coverage detected