Struct HpkeCiphertext
pub struct HpkeCiphertext {
pub kem_output: VLBytes,
pub ciphertext: VLBytes,
}Available on 32-bit or 64-bit only.
Expand description
7.7. Update Paths
struct {
opaque kem_output<V>;
opaque ciphertext<V>;
} HPKECiphertext;Fields§
§kem_output: VLBytes§ciphertext: VLBytesTrait Implementations§
§impl Clone for HpkeCiphertext
impl Clone for HpkeCiphertext
§fn clone(&self) -> HpkeCiphertext
fn clone(&self) -> HpkeCiphertext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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,
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read more§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 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 moreimpl Eq for HpkeCiphertext
Source§impl From<FrankenHpkeCiphertext> for HpkeCiphertext
Available on crate features test-utils only.
impl From<FrankenHpkeCiphertext> for HpkeCiphertext
Available on crate features
test-utils only.Source§fn from(ln: FrankenHpkeCiphertext) -> Self
fn from(ln: FrankenHpkeCiphertext) -> Self
Converts to this type from the input type.
Source§impl From<HpkeCiphertext> for FrankenHpkeCiphertext
Available on crate features test-utils only.
impl From<HpkeCiphertext> for FrankenHpkeCiphertext
Available on crate features
test-utils only.Source§fn from(ln: HpkeCiphertext) -> Self
fn from(ln: HpkeCiphertext) -> Self
Converts to this type from the input type.
§impl PartialEq for HpkeCiphertext
impl PartialEq 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 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 StructuralPartialEq for HpkeCiphertext
Auto Trait Implementations§
impl Forget for HpkeCiphertext
impl Freeze for HpkeCiphertext
impl Move for HpkeCiphertext
impl RefUnwindSafe for HpkeCiphertext
impl Send for HpkeCiphertextwhere
RawVecInner: Send,
impl Sync for HpkeCiphertextwhere
RawVecInner: Sync,
impl Unpin for HpkeCiphertext
impl UnsafeUnpin for HpkeCiphertext
impl UnwindSafe for HpkeCiphertextwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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