pub struct DBPinnableBatch<'db> { /* private fields */ }Expand description
Owns all values returned by one native pinned MultiGet operation.
Values are borrowed directly from RocksDB and remain valid until this batch is dropped. Vendored builds store successful values in one native owner instead of allocating one wrapper per key. System builds use upstream C API handles internally to avoid depending on RocksDB’s private C++ ABI.
Implementations§
Trait Implementations§
Source§impl Drop for DBPinnableBatch<'_>
impl Drop for DBPinnableBatch<'_>
Source§impl<'batch> IntoIterator for &'batch DBPinnableBatch<'_>
impl<'batch> IntoIterator for &'batch DBPinnableBatch<'_>
impl Send for DBPinnableBatch<'_>
impl Sync for DBPinnableBatch<'_>
Auto Trait Implementations§
impl<'db> Freeze for DBPinnableBatch<'db>
impl<'db> RefUnwindSafe for DBPinnableBatch<'db>
impl<'db> Unpin for DBPinnableBatch<'db>
impl<'db> UnsafeUnpin for DBPinnableBatch<'db>
impl<'db> UnwindSafe for DBPinnableBatch<'db>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more