(bytes: Option<&pb::VersionedBytes>)
| 373 | } |
| 374 | |
| 375 | pub fn provenance_graph_from(bytes: Option<&pb::VersionedBytes>) -> Result<Vec<u8>, String> { |
| 376 | Ok(payload(bytes, PROVENANCE_GRAPH_SCHEMA)?.to_vec()) |
| 377 | } |
| 378 | |
| 379 | pub fn session_turn_bytes(turn: &SessionTurn) -> Result<pb::VersionedBytes, String> { |
| 380 | Ok(versioned( |
no test coverage detected