#[repr(u8)]pub enum MessageWithoutAad {
PublicMessageWithoutAad(PublicMessageWithoutAad),
PrivateMessageWithoutAad(PrivateMessageWithoutAad),
}
Available on crate feature
draft-pham-mls-additional-wire-formats
only.Expand description
https://www.ietf.org/archive/id/draft-pham-mls-additional-wire-formats-00.html#section-2-2
enum {
PublicMessageWithoutAAD(0),
PrivateMessageWithoutAAD(1),
} MessageWithoutAAD;
Variants§
PublicMessageWithoutAad(PublicMessageWithoutAad)
PrivateMessageWithoutAad(PrivateMessageWithoutAad)
Trait Implementations§
Source§impl Clone for MessageWithoutAad
impl Clone for MessageWithoutAad
Source§fn clone(&self) -> MessageWithoutAad
fn clone(&self) -> MessageWithoutAad
Returns a duplicate 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 MessageWithoutAad
impl Debug for MessageWithoutAad
Source§impl<'de> Deserialize<'de> for MessageWithoutAad
impl<'de> Deserialize<'de> for MessageWithoutAad
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 MessageWithoutAad
impl Deserialize for MessageWithoutAad
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 for MessageWithoutAad
impl PartialEq for MessageWithoutAad
Source§impl Serialize for &MessageWithoutAad
impl Serialize for &MessageWithoutAad
Source§impl Serialize for MessageWithoutAad
impl Serialize for MessageWithoutAad
Source§impl Serialize for MessageWithoutAad
impl Serialize for MessageWithoutAad
Source§impl Size for &MessageWithoutAad
impl Size for &MessageWithoutAad
fn tls_serialized_len(&self) -> usize
Source§impl Size for MessageWithoutAad
impl Size for MessageWithoutAad
fn tls_serialized_len(&self) -> usize
impl Eq for MessageWithoutAad
impl StructuralPartialEq for MessageWithoutAad
Auto Trait Implementations§
impl Freeze for MessageWithoutAad
impl RefUnwindSafe for MessageWithoutAad
impl Send for MessageWithoutAad
impl Sync for MessageWithoutAad
impl Unpin for MessageWithoutAad
impl UnwindSafe for MessageWithoutAad
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