Enum openmls::framing::WireFormat
source · [−]#[repr(u8)]
pub enum WireFormat {
MlsPlaintext,
MlsCiphertext,
}
Expand description
Wire format of MLS messages.
Variants
MlsPlaintext
Plaintext message
MlsCiphertext
Encrypted message
Trait Implementations
sourceimpl Clone for WireFormat
impl Clone for WireFormat
sourcefn clone(&self) -> WireFormat
fn clone(&self) -> WireFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WireFormat
impl Debug for WireFormat
sourceimpl Deserialize for WireFormat
impl Deserialize for WireFormat
sourcefn 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 more
sourceimpl<'de> Deserialize<'de> for WireFormat
impl<'de> Deserialize<'de> for WireFormat
sourcefn 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
sourceimpl From<OutgoingWireFormatPolicy> for WireFormat
impl From<OutgoingWireFormatPolicy> for WireFormat
sourcefn from(outgoing: OutgoingWireFormatPolicy) -> Self
fn from(outgoing: OutgoingWireFormatPolicy) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WireFormat> for WireFormat
impl PartialEq<WireFormat> for WireFormat
sourceimpl Serialize for WireFormat
impl Serialize for WireFormat
sourceimpl Serialize for WireFormat
impl Serialize for WireFormat
sourceimpl Serialize for &WireFormat
impl Serialize for &WireFormat
sourceimpl Size for WireFormat
impl Size for WireFormat
fn tls_serialized_len(&self) -> usize
sourceimpl Size for &WireFormat
impl Size for &WireFormat
fn tls_serialized_len(&self) -> usize
impl Copy for WireFormat
impl StructuralPartialEq for WireFormat
Auto Trait Implementations
impl RefUnwindSafe for WireFormat
impl Send for WireFormat
impl Sync for WireFormat
impl Unpin for WireFormat
impl UnwindSafe for WireFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more