pub struct HpkeCiphertext {
pub kem_output: SensitiveBytes,
pub ciphertext: SensitiveBytes,
}
Fields§
§kem_output: SensitiveBytes
§ciphertext: SensitiveBytes
Trait Implementations§
Source§impl Clone for HpkeCiphertext
impl Clone for HpkeCiphertext
Source§fn clone(&self) -> HpkeCiphertext
fn clone(&self) -> HpkeCiphertext
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 HpkeCiphertext
impl Debug for HpkeCiphertext
Source§impl Deserialize for HpkeCiphertext
impl Deserialize for HpkeCiphertext
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl PartialEq for HpkeCiphertext
impl PartialEq for HpkeCiphertext
Source§impl Serialize for &HpkeCiphertext
impl Serialize for &HpkeCiphertext
Source§impl Serialize for HpkeCiphertext
impl Serialize for HpkeCiphertext
Source§impl Size for &HpkeCiphertext
impl Size for &HpkeCiphertext
fn tls_serialized_len(&self) -> usize
Source§impl Size for HpkeCiphertext
impl Size for HpkeCiphertext
fn tls_serialized_len(&self) -> usize
impl Eq for HpkeCiphertext
impl StructuralPartialEq for HpkeCiphertext
Auto Trait Implementations§
impl Freeze for HpkeCiphertext
impl RefUnwindSafe for HpkeCiphertext
impl Send for HpkeCiphertext
impl Sync for HpkeCiphertext
impl Unpin for HpkeCiphertext
impl UnwindSafe for HpkeCiphertext
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