Construct a record. The caller supplies the already-computed content key (producers hash once on the way out of redb).
(family: ObjectFamily, key: impl Into<String>, bytes: Vec<u8>)
| 144 | /// Construct a record. The caller supplies the already-computed content key |
| 145 | /// (producers hash once on the way out of redb). |
| 146 | pub fn new(family: ObjectFamily, key: impl Into<String>, bytes: Vec<u8>) -> Self { |
| 147 | ObjectRecord { |
| 148 | family, |
| 149 | key: key.into(), |
| 150 | bytes, |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | /// A view-ref compare-and-swap in a push. Moves `name` from the client's |
nothing calls this directly
no outgoing calls
no test coverage detected