Struct rocksdb::DBPinnableSlice [−][src]
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> AsRef<[u8]> for DBPinnableSlice<'a>
[src][+]
impl<'a> Deref for DBPinnableSlice<'a>
[src][+]
impl<'a> Drop for DBPinnableSlice<'a>
[src][+]
impl<'a> Send for DBPinnableSlice<'a>
[src]
impl<'a> Sync for DBPinnableSlice<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for DBPinnableSlice<'a>
impl<'a> Unpin for DBPinnableSlice<'a>
impl<'a> UnwindSafe for DBPinnableSlice<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,