pub struct ParsedPublicKey { /* private fields */ }Expand description
A parsed public key for key agreement.
This represents a public key that has been successfully parsed and validated
from its encoded form. The key can be used with the agree function to
perform key agreement operations.
Implementations§
Source§impl ParsedPublicKey
A parsed public key for key agreement.
impl ParsedPublicKey
A parsed public key for key agreement.
Trait Implementations§
Source§impl AsRef<[u8]> for ParsedPublicKey
impl AsRef<[u8]> for ParsedPublicKey
Source§impl Clone for ParsedPublicKey
impl Clone for ParsedPublicKey
Source§fn clone(&self) -> ParsedPublicKey
fn clone(&self) -> ParsedPublicKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedPublicKey
impl Debug for ParsedPublicKey
impl Send for ParsedPublicKey
impl Sync for ParsedPublicKey
Source§impl<B: AsRef<[u8]>> TryFrom<&UnparsedPublicKey<B>> for ParsedPublicKey
impl<B: AsRef<[u8]>> TryFrom<&UnparsedPublicKey<B>> for ParsedPublicKey
Source§type Error = KeyRejected
type Error = KeyRejected
The type returned in the event of a conversion error.
Source§impl<B: AsRef<[u8]>> TryFrom<UnparsedPublicKey<B>> for ParsedPublicKey
impl<B: AsRef<[u8]>> TryFrom<UnparsedPublicKey<B>> for ParsedPublicKey
Source§type Error = KeyRejected
type Error = KeyRejected
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ParsedPublicKey
impl RefUnwindSafe for ParsedPublicKey
impl Unpin for ParsedPublicKey
impl UnsafeUnpin for ParsedPublicKey
impl UnwindSafe for ParsedPublicKey
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