Lines Matching refs:Transaction
90 Connection, OptionalExtension, ToSql, Transaction, TransactionBehavior, NO_PARAMS,
129 fn load_from_db(key_id: i64, tx: &Transaction) -> Result<Self> {
155 fn store_in_db(&self, key_id: i64, tx: &Transaction) -> Result<()> {
204 fn load_from_db(blob_id: i64, tx: &Transaction) -> Result<Self> {
230 fn store_in_db(&self, blob_id: i64, tx: &Transaction) -> Result<()> {
832 const UPGRADERS: &'static [fn(&Transaction) -> Result<u32>] = &[Self::from_0_to_1];
859 fn from_0_to_1(tx: &Transaction) -> Result<u32> {
877 fn init_tables(tx: &Transaction) -> Result<()> {
1440 F: Fn(&Transaction) -> Result<(bool, T)>,
1503 tx: &Transaction,
1621 tx: &Transaction,
1673 tx: &Transaction,
2111 tx: &Transaction,
2342 fn load_key_entry_id(tx: &Transaction, key: &KeyDescriptor, key_type: KeyType) -> Result<i64> {
2384 tx: &Transaction,
2495 tx: &Transaction,
2550 fn load_key_parameters(key_id: i64, tx: &Transaction) -> Result<Vec<KeyParameter>> {
2736 fn mark_unreferenced(tx: &Transaction, key_id: i64) -> Result<bool> {
2777 fn get_key_km_uuid(tx: &Transaction, key_id: i64) -> Result<Uuid> {
2834 fn cleanup_unreferenced(tx: &Transaction) -> Result<()> {
2954 tx: &Transaction,
4718 .context("Transaction begin failed.")