pub struct Keyring { /* private fields */ }
Implementations§
source§impl Keyring
impl Keyring
pub fn new() -> Self
pub fn append_keys_from_armoured<R: BufRead>( &mut self, reader: R ) -> Result<usize, Error>
pub fn append_keys_from<R: Read>(&mut self, reader: R) -> Result<usize, Error>
pub fn keys_with_id(&self, id: u64) -> Vec<&PubKey>
pub fn key_ids(&self) -> HashSet<&u64>
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 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