pub struct RecipientPublic(/* private fields */);Expand description
An HPKE-validated X-Wing recipient public key.
Implementations§
Source§impl RecipientPublic
impl RecipientPublic
pub fn from_bytes(bytes: &[u8]) -> Result<Self, CryptoError>
pub fn to_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for RecipientPublic
impl Clone for RecipientPublic
Auto Trait Implementations§
impl Forget for RecipientPublic
impl Freeze for RecipientPublic
impl Move for RecipientPublic
impl RefUnwindSafe for RecipientPublic
impl Send for RecipientPublic
impl Sync for RecipientPublic
impl Unpin for RecipientPublic
impl UnsafeUnpin for RecipientPublic
impl UnwindSafe for RecipientPublic
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