Enum openmls::group::OutgoingWireFormatPolicy
source · pub enum OutgoingWireFormatPolicy {
AlwaysCiphertext,
AlwaysPlaintext,
}
Expand description
Defines what wire format should be used for outgoing handshake messages. Note that application messages must always be encrypted.
Variants§
AlwaysCiphertext
Handshake messages must always be PrivateMessage
AlwaysPlaintext
Handshake messages must always be PublicMessage
Trait Implementations§
source§impl Clone for OutgoingWireFormatPolicy
impl Clone for OutgoingWireFormatPolicy
source§fn clone(&self) -> OutgoingWireFormatPolicy
fn clone(&self) -> OutgoingWireFormatPolicy
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 OutgoingWireFormatPolicy
impl Debug for OutgoingWireFormatPolicy
source§impl<'de> Deserialize<'de> for OutgoingWireFormatPolicy
impl<'de> Deserialize<'de> for OutgoingWireFormatPolicy
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<OutgoingWireFormatPolicy> for WireFormat
impl From<OutgoingWireFormatPolicy> for WireFormat
source§fn from(outgoing: OutgoingWireFormatPolicy) -> Self
fn from(outgoing: OutgoingWireFormatPolicy) -> Self
Converts to this type from the input type.
source§impl PartialEq<OutgoingWireFormatPolicy> for OutgoingWireFormatPolicy
impl PartialEq<OutgoingWireFormatPolicy> for OutgoingWireFormatPolicy
source§fn eq(&self, other: &OutgoingWireFormatPolicy) -> bool
fn eq(&self, other: &OutgoingWireFormatPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OutgoingWireFormatPolicy
impl Serialize for OutgoingWireFormatPolicy
impl Copy for OutgoingWireFormatPolicy
impl Eq for OutgoingWireFormatPolicy
impl StructuralEq for OutgoingWireFormatPolicy
impl StructuralPartialEq for OutgoingWireFormatPolicy
Auto Trait Implementations§
impl RefUnwindSafe for OutgoingWireFormatPolicy
impl Send for OutgoingWireFormatPolicy
impl Sync for OutgoingWireFormatPolicy
impl Unpin for OutgoingWireFormatPolicy
impl UnwindSafe for OutgoingWireFormatPolicy
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