Expand description
A Txn is used to read and write from a Store
Tuple Fields§
§0: Txn<'a>
Implementations§
source§impl<'a, T: Hash> Txn<'a, T>
impl<'a, T: Hash> Txn<'a, T>
sourcepub fn put<V: Value<'a>>(
&mut self,
bucket: &Bucket<'a, Token<T>, V>,
val: V
) -> Result<Token<T>, Error>
pub fn put<V: Value<'a>>(
&mut self,
bucket: &Bucket<'a, Token<T>, V>,
val: V
) -> Result<Token<T>, Error>
Add a value to the store and return a token