#[repr(u8)]pub enum ContentTypeInner {
Application {
application_data: Vec<u8>,
},
Proposal {
proposal: Proposal,
},
Commit {
commit: Commit,
},
SplitCommit {
split_commit: SplitCommit,
},
}
Variants§
Application
Proposal
Commit
SplitCommit
Available on crate feature
draft-mularczyk-mls-splitcommit
only.Fields
§
split_commit: SplitCommit
Trait Implementations§
Source§impl Clone for ContentTypeInner
impl Clone for ContentTypeInner
Source§fn clone(&self) -> ContentTypeInner
fn clone(&self) -> ContentTypeInner
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 ContentTypeInner
impl Debug for ContentTypeInner
Source§impl<'de> Deserialize<'de> for ContentTypeInner
impl<'de> Deserialize<'de> for ContentTypeInner
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 ContentTypeInner
impl Deserialize for ContentTypeInner
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 From<&ContentTypeInner> for ContentType
impl From<&ContentTypeInner> for ContentType
Source§fn from(value: &ContentTypeInner) -> Self
fn from(value: &ContentTypeInner) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContentTypeInner
impl PartialEq for ContentTypeInner
Source§impl Serialize for &ContentTypeInner
impl Serialize for &ContentTypeInner
Source§impl Serialize for ContentTypeInner
impl Serialize for ContentTypeInner
Source§impl Serialize for ContentTypeInner
impl Serialize for ContentTypeInner
Source§impl Size for &ContentTypeInner
impl Size for &ContentTypeInner
fn tls_serialized_len(&self) -> usize
Source§impl Size for ContentTypeInner
impl Size for ContentTypeInner
fn tls_serialized_len(&self) -> usize
impl Eq for ContentTypeInner
impl StructuralPartialEq for ContentTypeInner
Auto Trait Implementations§
impl Freeze for ContentTypeInner
impl RefUnwindSafe for ContentTypeInner
impl Send for ContentTypeInner
impl Sync for ContentTypeInner
impl Unpin for ContentTypeInner
impl UnwindSafe for ContentTypeInner
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