Struct openmls::messages::proposals::ReInitProposal
source · pub struct ReInitProposal { /* private fields */ }
Expand description
ReInit Proposal.
A ReInit proposal represents a request to reinitialize the group with different parameters, for example, to increase the version number or to change the ciphersuite. The reinitialization is done by creating a completely new group and shutting down the old one.
// draft-ietf-mls-protocol-17
struct {
opaque group_id<V>;
ProtocolVersion version;
CipherSuite cipher_suite;
Extension extensions<V>;
} ReInit;
Trait Implementations§
source§impl Clone for ReInitProposal
impl Clone for ReInitProposal
source§fn clone(&self) -> ReInitProposal
fn clone(&self) -> ReInitProposal
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 ReInitProposal
impl Debug for ReInitProposal
source§impl<'de> Deserialize<'de> for ReInitProposal
impl<'de> Deserialize<'de> for ReInitProposal
source§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§impl Deserialize for ReInitProposal
impl Deserialize for ReInitProposal
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<ReInitProposal> for ReInitProposal
impl PartialEq<ReInitProposal> for ReInitProposal
source§fn eq(&self, other: &ReInitProposal) -> bool
fn eq(&self, other: &ReInitProposal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for &ReInitProposal
impl Serialize for &ReInitProposal
source§impl Serialize for ReInitProposal
impl Serialize for ReInitProposal
source§impl Serialize for ReInitProposal
impl Serialize for ReInitProposal
source§impl Size for &ReInitProposal
impl Size for &ReInitProposal
fn tls_serialized_len(&self) -> usize
source§impl Size for ReInitProposal
impl Size for ReInitProposal
fn tls_serialized_len(&self) -> usize
impl Eq for ReInitProposal
impl StructuralEq for ReInitProposal
impl StructuralPartialEq for ReInitProposal
Auto Trait Implementations§
impl RefUnwindSafe for ReInitProposal
impl Send for ReInitProposal
impl Sync for ReInitProposal
impl Unpin for ReInitProposal
impl UnwindSafe for ReInitProposal
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