pub struct HpkeKeyRef(/* private fields */);Expand description
A borrowed reference to a HpkeKey.
Trait Implementations§
Source§impl AsMut<HpkeKeyRef> for HpkeKey
impl AsMut<HpkeKeyRef> for HpkeKey
Source§fn as_mut(&mut self) -> &mut HpkeKeyRef
fn as_mut(&mut self) -> &mut HpkeKeyRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<HpkeKeyRef> for HpkeKey
impl AsRef<HpkeKeyRef> for HpkeKey
Source§fn as_ref(&self) -> &HpkeKeyRef
fn as_ref(&self) -> &HpkeKeyRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<HpkeKeyRef> for HpkeKey
impl Borrow<HpkeKeyRef> for HpkeKey
Source§fn borrow(&self) -> &HpkeKeyRef
fn borrow(&self) -> &HpkeKeyRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<HpkeKeyRef> for HpkeKey
impl BorrowMut<HpkeKeyRef> for HpkeKey
Source§fn borrow_mut(&mut self) -> &mut HpkeKeyRef
fn borrow_mut(&mut self) -> &mut HpkeKeyRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for HpkeKeyRef
impl ForeignTypeRef for HpkeKeyRef
Source§type CType = evp_hpke_key_st
type CType = evp_hpke_key_st
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
impl Send for HpkeKeyRef
impl Sync for HpkeKeyRef
Auto Trait Implementations§
impl Freeze for HpkeKeyRef
impl !RefUnwindSafe for HpkeKeyRef
impl Unpin for HpkeKeyRef
impl UnsafeUnpin for HpkeKeyRef
impl UnwindSafe for HpkeKeyRef
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