pub struct KeyringCustody<T> { /* private fields */ }Expand description
OS keychain custody for StoreKeyring or MemberIdentity, built at a composition root.
Implementations§
Source§impl<T> KeyringCustody<T>
impl<T> KeyringCustody<T>
Sourcepub fn new(keychain: Arc<StoreKeychain>) -> Self
pub fn new(keychain: Arc<StoreKeychain>) -> Self
Retain the injected store keychain; construction reads no key (E1).
Trait Implementations§
Source§impl<T: KeyMaterial> Custody<T> for KeyringCustody<T>
impl<T: KeyMaterial> Custody<T> for KeyringCustody<T>
Auto Trait Implementations§
impl<T> Freeze for KeyringCustody<T>
impl<T> !RefUnwindSafe for KeyringCustody<T>
impl<T> Send for KeyringCustody<T>
impl<T> Sync for KeyringCustody<T>
impl<T> Unpin for KeyringCustody<T>
impl<T> UnsafeUnpin for KeyringCustody<T>
impl<T> !UnwindSafe for KeyringCustody<T>
Blanket Implementations§
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