Struct HpkeCiphertext
pub struct HpkeCiphertext {
pub kem_output: VLBytes,
pub ciphertext: VLBytes,
}
Expand description
7.7. Update Paths
struct {
opaque kem_output<V>;
opaque ciphertext<V>;
} HPKECiphertext;
Fields§
§kem_output: VLBytes
§ciphertext: VLBytes
Trait Implementations§
§impl Clone for HpkeCiphertext
impl Clone for HpkeCiphertext
§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 more§impl Debug for HpkeCiphertext
impl Debug for HpkeCiphertext
§impl<'de> Deserialize<'de> for HpkeCiphertext
impl<'de> Deserialize<'de> for HpkeCiphertext
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HpkeCiphertext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HpkeCiphertext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Deserialize for HpkeCiphertext
impl Deserialize for HpkeCiphertext
§fn tls_deserialize<R>(bytes: &mut R) -> Result<HpkeCiphertext, Error>where
R: Read,
fn tls_deserialize<R>(bytes: &mut R) -> Result<HpkeCiphertext, Error>where
R: Read,
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read more§impl DeserializeBytes for HpkeCiphertext
impl DeserializeBytes for HpkeCiphertext
§fn tls_deserialize_bytes(bytes: &[u8]) -> Result<(HpkeCiphertext, &[u8]), Error>
fn tls_deserialize_bytes(bytes: &[u8]) -> Result<(HpkeCiphertext, &[u8]), Error>
This function deserializes the
bytes
from the provided a &[u8]
and returns the populated struct, as well as the remaining slice. Read more§impl PartialEq for HpkeCiphertext
impl PartialEq for HpkeCiphertext
§impl Serialize for &HpkeCiphertext
impl Serialize for &HpkeCiphertext
§impl Serialize for HpkeCiphertext
impl Serialize for HpkeCiphertext
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl Serialize for HpkeCiphertext
impl Serialize for HpkeCiphertext
§impl Size for &HpkeCiphertext
impl Size for &HpkeCiphertext
fn tls_serialized_len(&self) -> usize
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more