[−][src]Trait sledis::WriteStore
Required methods
fn insert<V>(&self, key: &[u8], val: V) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
IVec: From<V>,
fn remove(&self, key: &[u8]) -> Result<Option<IVec>, Self::Error>
Provided methods
fn fetch_update<V, F>(
&self,
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
&self,
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
Implementations on Foreign Types
impl WriteStore for Tree
[src]
fn insert<V>(&self, key: &[u8], val: V) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
[src]
IVec: From<V>,
fn remove(&self, key: &[u8]) -> Result<Option<IVec>, Self::Error>
[src]
fn fetch_update<V, F>(
&self,
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
[src]
&self,
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
impl WriteStore for TransactionalTree
[src]
fn insert<V>(&self, key: &[u8], val: V) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
[src]
IVec: From<V>,