[][src]Module rocks::slice

Slice data structure for interacting with rocksdb keys and values.

Structs

PinnableSlice

A Slice that can be pinned with some cleanup tasks, which will be run upon ::Reset() or object destruction, whichever is invoked first. This can be used to avoid memcpy by having the PinnsableSlice object referring to the data that is locked in the memory and release them after the data is consuned.