Struct kanidm_unix_resolver::db::KeyStoreTxn
source · pub struct KeyStoreTxn<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> KeyStoreTxn<'a, 'b>
impl<'a, 'b> KeyStoreTxn<'a, 'b>
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> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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