pub struct PrivateMessage { /* private fields */ }
Expand description
PrivateMessage
is the framing struct for an encrypted PublicMessage
.
This message format is meant to be sent to and received from the Delivery
Service.
// draft-ietf-mls-protocol-17
struct {
opaque group_id<V>;
uint64 epoch;
ContentType content_type;
opaque authenticated_data<V>;
opaque encrypted_sender_data<V>;
opaque ciphertext<V>;
} PrivateMessage;
Trait Implementations§
Source§impl Clone for PrivateMessage
impl Clone for PrivateMessage
Source§fn clone(&self) -> PrivateMessage
fn clone(&self) -> PrivateMessage
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 PrivateMessage
impl Debug for PrivateMessage
Source§impl From<PrivateMessage> for MlsMessageOut
impl From<PrivateMessage> for MlsMessageOut
Source§fn from(private_message: PrivateMessage) -> Self
fn from(private_message: PrivateMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrivateMessage
impl PartialEq for PrivateMessage
Source§impl Serialize for &PrivateMessage
impl Serialize for &PrivateMessage
Source§impl Serialize for PrivateMessage
impl Serialize for PrivateMessage
Source§impl Size for &PrivateMessage
impl Size for &PrivateMessage
fn tls_serialized_len(&self) -> usize
Source§impl Size for PrivateMessage
impl Size for PrivateMessage
fn tls_serialized_len(&self) -> usize
impl Eq for PrivateMessage
impl StructuralPartialEq for PrivateMessage
Auto Trait Implementations§
impl Freeze for PrivateMessage
impl RefUnwindSafe for PrivateMessage
impl Send for PrivateMessage
impl Sync for PrivateMessage
impl Unpin for PrivateMessage
impl UnwindSafe for PrivateMessage
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