MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / serialize

Method serialize

tests/test_with_serde_path_to_err.rs:31–38  ·  view source on GitHub ↗
(&self, _serializer: S)

Source from the content-addressed store, hash-verified

29
30impl Serialize for CannotSerialize {
31 fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
32 where
33 S: serde::Serializer,
34 {
35 Err(serde::ser::Error::custom(
36 "something went intentionally wrong",
37 ))
38 }
39}
40
41#[test]

Callers 6

pythonizeFunction · 0.80
pythonize_customFunction · 0.80
serialize_someMethod · 0.80
serialize_fieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected