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 MlsCiphertext
AlwaysPlaintext
Handshake messages must always be MlsPlaintext
Trait Implementations
sourceimpl Clone for OutgoingWireFormatPolicy
impl Clone for OutgoingWireFormatPolicy
sourcefn clone(&self) -> OutgoingWireFormatPolicy
fn clone(&self) -> OutgoingWireFormatPolicy
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 OutgoingWireFormatPolicy
impl Debug for OutgoingWireFormatPolicy
sourceimpl<'de> Deserialize<'de> for OutgoingWireFormatPolicy
impl<'de> Deserialize<'de> for OutgoingWireFormatPolicy
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 Serialize for OutgoingWireFormatPolicy
impl Serialize for OutgoingWireFormatPolicy
impl Copy 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
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