Struct rkv::store::integermulti::MultiIntegerStore
source · pub struct MultiIntegerStore<D, K> { /* private fields */ }
Implementations§
source§impl<D, K> MultiIntegerStore<D, K>where
D: BackendDatabase,
K: PrimitiveInt,
impl<D, K> MultiIntegerStore<D, K>where D: BackendDatabase, K: PrimitiveInt,
pub fn get<'r, R, I, C>( &self, reader: &'r R, k: K ) -> Result<Iter<'r, I>, StoreError>where R: Readable<'r, Database = D, RoCursor = C>, I: BackendIter<'r>, C: BackendRoCursor<'r, Iter = I>, K: 'r,
pub fn get_first<'r, R>( &self, reader: &'r R, k: K ) -> Result<Option<Value<'r>>, StoreError>where R: Readable<'r, Database = D>,
pub fn put<T>( &self, writer: &mut Writer<T>, k: K, v: &Value<'_> ) -> Result<(), StoreError>where T: BackendRwTransaction<Database = D>,
pub fn put_with_flags<T>( &self, writer: &mut Writer<T>, k: K, v: &Value<'_>, flags: T::Flags ) -> Result<(), StoreError>where T: BackendRwTransaction<Database = D>,
pub fn delete_all<T>( &self, writer: &mut Writer<T>, k: K ) -> Result<(), StoreError>where T: BackendRwTransaction<Database = D>,
pub fn delete<T>( &self, writer: &mut Writer<T>, k: K, v: &Value<'_> ) -> Result<(), StoreError>where T: BackendRwTransaction<Database = D>,
pub fn clear<T>(&self, writer: &mut Writer<T>) -> Result<(), StoreError>where T: BackendRwTransaction<Database = D>,
Trait Implementations§
source§impl<D: Clone, K: Clone> Clone for MultiIntegerStore<D, K>
impl<D: Clone, K: Clone> Clone for MultiIntegerStore<D, K>
source§fn clone(&self) -> MultiIntegerStore<D, K>
fn clone(&self) -> MultiIntegerStore<D, K>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<D: PartialEq, K: PartialEq> PartialEq for MultiIntegerStore<D, K>
impl<D: PartialEq, K: PartialEq> PartialEq for MultiIntegerStore<D, K>
source§fn eq(&self, other: &MultiIntegerStore<D, K>) -> bool
fn eq(&self, other: &MultiIntegerStore<D, K>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<D: Copy, K: Copy> Copy for MultiIntegerStore<D, K>
impl<D: Eq, K: Eq> Eq for MultiIntegerStore<D, K>
impl<D, K> StructuralEq for MultiIntegerStore<D, K>
impl<D, K> StructuralPartialEq for MultiIntegerStore<D, K>
Auto Trait Implementations§
impl<D, K> RefUnwindSafe for MultiIntegerStore<D, K>where D: RefUnwindSafe, K: RefUnwindSafe,
impl<D, K> Send for MultiIntegerStore<D, K>where D: Send, K: Send,
impl<D, K> Sync for MultiIntegerStore<D, K>where D: Sync, K: Sync,
impl<D, K> Unpin for MultiIntegerStore<D, K>where D: Unpin, K: Unpin,
impl<D, K> UnwindSafe for MultiIntegerStore<D, K>where D: UnwindSafe, K: UnwindSafe,
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