Struct openmls::framing::PublicMessage
source · pub struct PublicMessage { /* private fields */ }
Expand description
PublicMessage
is a framing structure for MLS messages. It can contain
Proposals, Commits and application messages.
- Message framing
// draft-ietf-mls-protocol-17
struct {
FramedContent content;
FramedContentAuthData auth;
optional<MAC> membership_tag;
} PublicMessage;
Trait Implementations§
source§impl Clone for PublicMessage
impl Clone for PublicMessage
source§fn clone(&self) -> PublicMessage
fn clone(&self) -> PublicMessage
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 PublicMessage
impl Debug for PublicMessage
source§impl<'de> Deserialize<'de> for PublicMessage
impl<'de> Deserialize<'de> for PublicMessage
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 From<PublicMessage> for MlsMessageOut
impl From<PublicMessage> for MlsMessageOut
source§fn from(public_message: PublicMessage) -> Self
fn from(public_message: PublicMessage) -> Self
Converts to this type from the input type.
source§impl PartialEq<PublicMessage> for PublicMessage
impl PartialEq<PublicMessage> for PublicMessage
source§fn eq(&self, other: &PublicMessage) -> bool
fn eq(&self, other: &PublicMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PublicMessage
impl Serialize for PublicMessage
source§impl Serialize for PublicMessage
impl Serialize for PublicMessage
source§impl Size for PublicMessage
impl Size for PublicMessage
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for PublicMessage
Auto Trait Implementations§
impl RefUnwindSafe for PublicMessage
impl Send for PublicMessage
impl Sync for PublicMessage
impl Unpin for PublicMessage
impl UnwindSafe for PublicMessage
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