pub struct KeyRing { /* private fields */ }Expand description
The public keys an agent trusts, keyed by kid.
Implementations§
Source§impl KeyRing
impl KeyRing
pub fn new() -> Self
pub fn insert( &mut self, kid: impl Into<String>, key: VerifyingKey, policy: KeyPolicy, )
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyRing
impl RefUnwindSafe for KeyRing
impl Send for KeyRing
impl Sync for KeyRing
impl Unpin for KeyRing
impl UnsafeUnpin for KeyRing
impl UnwindSafe for KeyRing
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