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 Freeze for HpkePrivateKey
impl RefUnwindSafe for HpkePrivateKey
impl Send for HpkePrivateKey
impl Sync for HpkePrivateKey
impl Unpin 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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes