Struct hpke_rs::HpkePublicKey
source · pub struct HpkePublicKey { /* private fields */ }
Expand description
An HPKE public key is a byte vector.
Implementations§
Trait Implementations§
source§impl Clone for HpkePublicKey
impl Clone for HpkePublicKey
source§fn clone(&self) -> HpkePublicKey
fn clone(&self) -> HpkePublicKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HpkePublicKey
impl Debug for HpkePublicKey
source§impl Default for HpkePublicKey
impl Default for HpkePublicKey
source§fn default() -> HpkePublicKey
fn default() -> HpkePublicKey
Returns the “default value” for a type. Read more
source§impl From<&[u8]> for HpkePublicKey
impl From<&[u8]> for HpkePublicKey
source§impl PartialEq for HpkePublicKey
impl PartialEq for HpkePublicKey
source§fn eq(&self, other: &HpkePublicKey) -> bool
fn eq(&self, other: &HpkePublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HpkePublicKey
Auto Trait Implementations§
impl RefUnwindSafe for HpkePublicKey
impl Send for HpkePublicKey
impl Sync for HpkePublicKey
impl Unpin for HpkePublicKey
impl UnwindSafe for HpkePublicKey
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