(bytes: Option<&pb::VersionedBytes>)
| 332 | } |
| 333 | |
| 334 | pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> { |
| 335 | Ok(payload(bytes, PROVENANCE_GRAPH_SCHEMA)?.to_vec()) |
| 336 | } |
| 337 | |
| 338 | pub fn session_turn_bytes(turn: &SessionTurn) -> Result<pb::VersionedBytes, String> { |
| 339 | Ok(versioned( |
no test coverage detected