[−][src]Trait sledis::table::TableWriteStore
Required methods
fn table_insert<V>(
&self,
name: &[u8],
key: &[u8],
val: V
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
&self,
name: &[u8],
key: &[u8],
val: V
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
fn table_remove(
&self,
name: &[u8],
key: &[u8]
) -> Result<Option<IVec>, Self::Error>
&self,
name: &[u8],
key: &[u8]
) -> Result<Option<IVec>, Self::Error>
fn table_fetch_update<V, F>(
&self,
name: &[u8],
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
&self,
name: &[u8],
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
Implementors
impl<S> TableWriteStore for S where
S: WriteStore,
S::Error: From<Error>,
[src]
S: WriteStore,
S::Error: From<Error>,
fn table_insert<V>(
&self,
name: &[u8],
key: &[u8],
val: V
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
[src]
&self,
name: &[u8],
key: &[u8],
val: V
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
fn table_remove(
&self,
name: &[u8],
key: &[u8]
) -> Result<Option<IVec>, Self::Error>
[src]
&self,
name: &[u8],
key: &[u8]
) -> Result<Option<IVec>, Self::Error>
fn table_fetch_update<V, F>(
&self,
name: &[u8],
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,
[src]
&self,
name: &[u8],
key: &[u8],
f: F
) -> Result<Option<IVec>, Self::Error> where
IVec: From<V>,
F: FnMut(Option<&[u8]>) -> Option<V>,