Struct rustls::crypto::hpke::HpkePrivateKey
source · 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