pub struct AgreementPrivateKey { /* private fields */ }Implementations§
Source§impl AgreementPrivateKey
impl AgreementPrivateKey
pub fn type_id() -> usize
Sourcepub fn generate_p256() -> Result<Self>
pub fn generate_p256() -> Result<Self>
Sourcepub fn public_key(&self) -> Result<AgreementPublicKey>
pub fn public_key(&self) -> Result<AgreementPublicKey>
pub fn is_supported(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgreementPrivateKey
impl RefUnwindSafe for AgreementPrivateKey
impl !Send for AgreementPrivateKey
impl !Sync for AgreementPrivateKey
impl Unpin for AgreementPrivateKey
impl UnsafeUnpin for AgreementPrivateKey
impl UnwindSafe for AgreementPrivateKey
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