Struct openmls::group::WireFormatPolicy
source · pub struct WireFormatPolicy { /* private fields */ }
Expand description
Defines what wire format is desired for outgoing handshake messages. Note that application messages must always be encrypted.
Implementations§
source§impl WireFormatPolicy
impl WireFormatPolicy
sourcepub fn outgoing(&self) -> OutgoingWireFormatPolicy
pub fn outgoing(&self) -> OutgoingWireFormatPolicy
Returns a reference to the wire format policy’s outgoing wire format policy.
sourcepub fn incoming(&self) -> IncomingWireFormatPolicy
pub fn incoming(&self) -> IncomingWireFormatPolicy
Returns a reference to the wire format policy’s incoming wire format policy.
Trait Implementations§
source§impl Clone for WireFormatPolicy
impl Clone for WireFormatPolicy
source§fn clone(&self) -> WireFormatPolicy
fn clone(&self) -> WireFormatPolicy
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 WireFormatPolicy
impl Debug for WireFormatPolicy
source§impl Default for WireFormatPolicy
impl Default for WireFormatPolicy
source§impl<'de> Deserialize<'de> for WireFormatPolicy
impl<'de> Deserialize<'de> for WireFormatPolicy
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 PartialEq<WireFormatPolicy> for WireFormatPolicy
impl PartialEq<WireFormatPolicy> for WireFormatPolicy
source§fn eq(&self, other: &WireFormatPolicy) -> bool
fn eq(&self, other: &WireFormatPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WireFormatPolicy
impl Serialize for WireFormatPolicy
impl Copy for WireFormatPolicy
impl Eq for WireFormatPolicy
impl StructuralEq for WireFormatPolicy
impl StructuralPartialEq for WireFormatPolicy
Auto Trait Implementations§
impl RefUnwindSafe for WireFormatPolicy
impl Send for WireFormatPolicy
impl Sync for WireFormatPolicy
impl Unpin for WireFormatPolicy
impl UnwindSafe for WireFormatPolicy
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