Struct castor::Txn [] [src]

pub struct Txn<'a>(pub Txn<'a>);

A Txn is used to read and write from a Store

Methods

impl<'a> Txn<'a>
[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> !Send for Txn<'a>

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