pub struct KeyInformation(/* private fields */);Expand description
Key Information [Spec section 4.4.3.8]
Implementations§
Source§impl KeyInformation
impl KeyInformation
Sourcepub fn num_additional(&self) -> usize
pub fn num_additional(&self) -> usize
How many “additional” keys do we have information for?
pub fn sig_ref(&self) -> u8
pub fn sig_status(&self) -> KeyStatus
pub fn dec_ref(&self) -> u8
pub fn dec_status(&self) -> KeyStatus
pub fn aut_ref(&self) -> u8
pub fn aut_status(&self) -> KeyStatus
pub fn additional_ref(&self, num: usize) -> u8
pub fn additional_status(&self, num: usize) -> KeyStatus
Trait Implementations§
Source§impl Display for KeyInformation
impl Display for KeyInformation
Auto Trait Implementations§
impl Freeze for KeyInformation
impl RefUnwindSafe for KeyInformation
impl Send for KeyInformation
impl Sync for KeyInformation
impl Unpin for KeyInformation
impl UnwindSafe for KeyInformation
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