(&self)
| 253 | |
| 254 | impl ManagedTurnOutcome { |
| 255 | pub fn to_bytes(&self) -> Vec<u8> { |
| 256 | postcard::to_allocvec(self).expect("ManagedTurnOutcome serialization") |
| 257 | } |
| 258 | |
| 259 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, postcard::Error> { |
| 260 | postcard::from_bytes(bytes) |
no outgoing calls