Struct openmls::group::MlsGroupConfig
source · pub struct MlsGroupConfig { /* private fields */ }
Expand description
Specifies the configuration parameters for a MlsGroup
. Refer to
the User Manual for more information about the different configuration values.
Implementations§
source§impl MlsGroupConfig
impl MlsGroupConfig
sourcepub fn builder() -> MlsGroupConfigBuilder
pub fn builder() -> MlsGroupConfigBuilder
Returns a builder for MlsGroupConfig
sourcepub fn wire_format_policy(&self) -> WireFormatPolicy
pub fn wire_format_policy(&self) -> WireFormatPolicy
Returns the MlsGroupConfig
wire format policy.
sourcepub fn padding_size(&self) -> usize
pub fn padding_size(&self) -> usize
Returns the MlsGroupConfig
padding size.
sourcepub fn max_past_epochs(&self) -> usize
pub fn max_past_epochs(&self) -> usize
Returns the MlsGroupConfig
max past epochs.
sourcepub fn number_of_resumption_psks(&self) -> usize
pub fn number_of_resumption_psks(&self) -> usize
Returns the MlsGroupConfig
number of resumption psks.
sourcepub fn use_ratchet_tree_extension(&self) -> bool
pub fn use_ratchet_tree_extension(&self) -> bool
Returns the MlsGroupConfig
boolean flag that indicates whether ratchet_tree_extension should be used.
sourcepub fn sender_ratchet_configuration(&self) -> &SenderRatchetConfiguration
pub fn sender_ratchet_configuration(&self) -> &SenderRatchetConfiguration
Returns the MlsGroupConfig
sender ratchet configuration.
sourcepub fn external_senders(&self) -> &ExternalSendersExtension
pub fn external_senders(&self) -> &ExternalSendersExtension
Returns the MlsGroupConfig
external senders extension
sourcepub fn lifetime(&self) -> &Lifetime
pub fn lifetime(&self) -> &Lifetime
Returns the MlsGroupConfig
lifetime configuration.
sourcepub fn crypto_config(&self) -> &CryptoConfig
pub fn crypto_config(&self) -> &CryptoConfig
Returns the CryptoConfig
.
Trait Implementations§
source§impl Clone for MlsGroupConfig
impl Clone for MlsGroupConfig
source§fn clone(&self) -> MlsGroupConfig
fn clone(&self) -> MlsGroupConfig
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 MlsGroupConfig
impl Debug for MlsGroupConfig
source§impl Default for MlsGroupConfig
impl Default for MlsGroupConfig
source§fn default() -> MlsGroupConfig
fn default() -> MlsGroupConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MlsGroupConfig
impl<'de> Deserialize<'de> for MlsGroupConfig
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<MlsGroupConfig> for MlsGroupConfig
impl PartialEq<MlsGroupConfig> for MlsGroupConfig
source§fn eq(&self, other: &MlsGroupConfig) -> bool
fn eq(&self, other: &MlsGroupConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MlsGroupConfig
impl Serialize for MlsGroupConfig
impl Eq for MlsGroupConfig
impl StructuralEq for MlsGroupConfig
impl StructuralPartialEq for MlsGroupConfig
Auto Trait Implementations§
impl RefUnwindSafe for MlsGroupConfig
impl Send for MlsGroupConfig
impl Sync for MlsGroupConfig
impl Unpin for MlsGroupConfig
impl UnwindSafe for MlsGroupConfig
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