Trait taskchampion::storage::Storage [−][src]
pub trait Storage {
fn txn<'a>(&'a mut self) -> Result<Box<dyn StorageTxn + 'a>>;
}
Expand description
A trait for objects able to act as task storage. Most of the interesting behavior is in the
crate::storage::StorageTxn
trait.
Required methods
fn txn<'a>(&'a mut self) -> Result<Box<dyn StorageTxn + 'a>>
fn txn<'a>(&'a mut self) -> Result<Box<dyn StorageTxn + 'a>>
Begin a transaction