[][src]Struct rkv::store::integer::IntegerStore

pub struct IntegerStore<K> where
    K: PrimitiveInt
{ /* fields omitted */ }

Methods

impl<K> IntegerStore<K> where
    K: PrimitiveInt
[src]

pub fn get<'env, T: Readable>(
    &self,
    reader: &'env T,
    k: K
) -> Result<Option<Value<'env>>, StoreError>
[src]

pub fn put(
    &self,
    writer: &mut Writer,
    k: K,
    v: &Value
) -> Result<(), StoreError>
[src]

pub fn delete(&self, writer: &mut Writer, k: K) -> Result<(), StoreError>[src]

pub fn clear(&self, writer: &mut Writer) -> Result<(), StoreError>[src]

Auto Trait Implementations

impl<K> Send for IntegerStore<K> where
    K: Send

impl<K> Unpin for IntegerStore<K> where
    K: Unpin

impl<K> Sync for IntegerStore<K> where
    K: Sync

impl<K> UnwindSafe for IntegerStore<K> where
    K: UnwindSafe

impl<K> RefUnwindSafe for IntegerStore<K> where
    K: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]