Struct openmls::messages::proposals::PreSharedKeyProposal
source · pub struct PreSharedKeyProposal { /* private fields */ }
Expand description
PreSharedKey Proposal.
A PreSharedKey proposal can be used to request that a pre-shared key be injected into the key schedule in the process of advancing the epoch.
// draft-ietf-mls-protocol-17
struct {
PreSharedKeyID psk;
} PreSharedKey;
Trait Implementations§
source§fn clone(&self) -> PreSharedKeyProposal
fn clone(&self) -> PreSharedKeyProposal
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§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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§fn eq(&self, other: &PreSharedKeyProposal) -> bool
fn eq(&self, other: &PreSharedKeyProposal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.