#[repr(C)]pub struct PubKey {
pub pkalg: [u8; 2],
pub keynum: [u8; 8],
pub pubkey: [u8; 32],
}Expand description
Public key structure.
Fields§
§pkalg: [u8; 2]Public key algorithm (must be “Ed”).
keynum: [u8; 8]Key ID (KeyNum).
pubkey: [u8; 32]Public key data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PubKey
impl RefUnwindSafe for PubKey
impl Send for PubKey
impl Sync for PubKey
impl Unpin for PubKey
impl UnwindSafe for PubKey
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