(d: D)
| 63 | } |
| 64 | |
| 65 | pub fn deserialize<'de, D: Deserializer<'de>>(d: D) -> Result<Vec<u8>, D::Error> { |
| 66 | let s = String::deserialize(d)?; |
| 67 | BASE64 |
| 68 | .decode(s.as_bytes()) |
| 69 | .map_err(serde::de::Error::custom) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /// Schema tag for [`SandboxSkeleton::to_bytes`]: how the skeleton travels |
no test coverage detected