pub struct KeyStoreTxn<'a, 'b> { /* private fields */ }
Implementations§
source§impl KeyStoreTxn<'_, '_>
impl KeyStoreTxn<'_, '_>
pub fn get_tagged_hsm_key<K: DeserializeOwned>( &mut self, tag: &str, ) -> Result<Option<K>, CacheError>
pub fn insert_tagged_hsm_key<K: Serialize>( &mut self, tag: &str, key: &K, ) -> Result<(), CacheError>
pub fn delete_tagged_hsm_key(&mut self, tag: &str) -> Result<(), CacheError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for KeyStoreTxn<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for KeyStoreTxn<'a, 'b>
impl<'a, 'b> Send for KeyStoreTxn<'a, 'b>
impl<'a, 'b> !Sync for KeyStoreTxn<'a, 'b>
impl<'a, 'b> Unpin for KeyStoreTxn<'a, 'b>
impl<'a, 'b> !UnwindSafe for KeyStoreTxn<'a, 'b>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more