pub struct HpkePrivateKey(/* private fields */);Expand description
An HPKE private key.
Implementations§
Source§impl HpkePrivateKey
impl HpkePrivateKey
Sourcepub fn secret_bytes(&self) -> &[u8] ⓘ
pub fn secret_bytes(&self) -> &[u8] ⓘ
Return the private key bytes.
Trait Implementations§
Source§impl Drop for HpkePrivateKey
impl Drop for HpkePrivateKey
Auto Trait Implementations§
impl Forget for HpkePrivateKey
impl Freeze for HpkePrivateKey
impl Move for HpkePrivateKey
impl RefUnwindSafe for HpkePrivateKey
impl Send for HpkePrivateKey
impl Sync for HpkePrivateKey
impl Unpin for HpkePrivateKey
impl UnsafeUnpin for HpkePrivateKey
impl UnwindSafe for HpkePrivateKey
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