A slice from its encoded rows and its spans.
(rows: &[u8], spans: Vec<SpanBytes>)
| 107 | |
| 108 | /// A slice from its encoded rows and its spans. |
| 109 | pub fn from_parts(rows: &[u8], spans: Vec<SpanBytes>) -> Result<Self, RepositoryError> { |
| 110 | Ok(Self { |
| 111 | rows: decode(rows)?, |
| 112 | spans, |
| 113 | }) |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | /// Why the repository refused a sandbox's change. Nothing is written when |