The slice's graph rows as bytes ([`SANDBOX_GRAPH_SLICE_SCHEMA`]). The spans travel beside them, one by one.
(&self)
| 102 | /// The slice's graph rows as bytes ([`SANDBOX_GRAPH_SLICE_SCHEMA`]). The |
| 103 | /// spans travel beside them, one by one. |
| 104 | pub fn rows_to_bytes(&self) -> Result<Vec<u8>, RepositoryError> { |
| 105 | encode(&self.rows) |
| 106 | } |
| 107 | |
| 108 | /// A slice from its encoded rows and its spans. |
| 109 | pub fn from_parts(rows: &[u8], spans: Vec<SpanBytes>) -> Result<Self, RepositoryError> { |