Struct rocksdb::DBPinnableSlice [−][src]
pub struct DBPinnableSlice<'a> { /* fields omitted */ }
Wrapper around RocksDB PinnableSlice struct.
With a pinnable slice, we can directly leverage in-memory data within RocksDB to avoid unnecessary memory copies. The struct here wraps the returned raw pointer and ensures proper finalization work.
Trait Implementations
impl<'a> Deref for DBPinnableSlice<'a>
[src]
impl<'a> Deref for DBPinnableSlice<'a>
[src]impl<'a> Drop for DBPinnableSlice<'a>
[src]
impl<'a> Drop for DBPinnableSlice<'a>
[src]