Struct rkv::store::integermulti::MultiIntegerStore
source · [−]pub struct MultiIntegerStore<D, K> { /* private fields */ }
Implementations
sourceimpl<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
sourceimpl<D: Clone, K: Clone> Clone for MultiIntegerStore<D, K>
impl<D: Clone, K: Clone> Clone for MultiIntegerStore<D, K>
sourcefn clone(&self) -> MultiIntegerStore<D, K>
fn clone(&self) -> MultiIntegerStore<D, K>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<D: Debug, K: Debug> Debug for MultiIntegerStore<D, K>
impl<D: Debug, K: Debug> Debug for MultiIntegerStore<D, K>
sourceimpl<D: PartialEq, K: PartialEq> PartialEq<MultiIntegerStore<D, K>> for MultiIntegerStore<D, K>
impl<D: PartialEq, K: PartialEq> PartialEq<MultiIntegerStore<D, K>> for MultiIntegerStore<D, K>
sourcefn eq(&self, other: &MultiIntegerStore<D, K>) -> bool
fn eq(&self, other: &MultiIntegerStore<D, K>) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more