Function rtm::transaction
[−]
[src]
pub fn transaction<R: Sync, F: Fn(&mut R)>(lambda: &F,
data: &mut R)
-> Result<(), Abort>
Execute a transaction
This accepts data and a lambda function. It will return if the operations succeeded or not, and how it failed if it did.