(bytes: &'a [u8])
| 83 | } |
| 84 | |
| 85 | fn decode<'a, T: Deserialize<'a>>(bytes: &'a [u8]) -> Result<T, RepositoryError> { |
| 86 | postcard::from_bytes(bytes).map_err(|e| RepositoryError::Serialization(e.to_string())) |
| 87 | } |
| 88 | |
| 89 | impl SandboxSkeleton { |
| 90 | /// The skeleton as bytes ([`SANDBOX_SKELETON_SCHEMA`]): what a transport |
no outgoing calls