Struct castor::Txn [] [src]

pub struct Txn<'a, V: Value<'a>>(pub Txn<'a, Token, V>);

A Txn is used to read and write from a Store

Methods

impl<'a, V: Value<'a>> Txn<'a, V>
[src]

[src]

Add a value to the store and return a token

[src]

Fetch the value associated with the given token

[src]

Delete the value associated with the given token from the store

Trait Implementations

Auto Trait Implementations

impl<'a, V> !Send for Txn<'a, V>

impl<'a, V> !Sync for Txn<'a, V>