pub struct MlsGroupCreateConfig { /* private fields */ }Expand description
Specifies configuration for the creation of an MlsGroup. Refer to the
User Manual for
more information about the different configuration values.
Implementations§
Source§impl MlsGroupCreateConfig
impl MlsGroupCreateConfig
Sourcepub fn builder() -> MlsGroupCreateConfigBuilder
pub fn builder() -> MlsGroupCreateConfigBuilder
Returns a builder for MlsGroupCreateConfig
Sourcepub fn wire_format_policy(&self) -> WireFormatPolicy
pub fn wire_format_policy(&self) -> WireFormatPolicy
Returns the MlsGroupCreateConfig wire format policy.
Sourcepub fn padding_size(&self) -> usize
pub fn padding_size(&self) -> usize
Returns the MlsGroupCreateConfig padding size.
Sourcepub fn max_past_epochs(&self) -> usize
pub fn max_past_epochs(&self) -> usize
Returns the MlsGroupCreateConfig max past epochs.
Sourcepub fn number_of_resumption_psks(&self) -> usize
pub fn number_of_resumption_psks(&self) -> usize
Returns the MlsGroupCreateConfig number of resumption psks.
Sourcepub fn use_ratchet_tree_extension(&self) -> bool
pub fn use_ratchet_tree_extension(&self) -> bool
Returns the MlsGroupCreateConfig 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 MlsGroupCreateConfig sender ratchet configuration.
Sourcepub fn group_context_extensions(&self) -> &Extensions
pub fn group_context_extensions(&self) -> &Extensions
Returns the Extensions set as the initial group context.
This does not contain the initial group context extensions
added from builder calls to external_senders or required_capabilities.
Sourcepub fn lifetime(&self) -> &Lifetime
pub fn lifetime(&self) -> &Lifetime
Returns the MlsGroupCreateConfig lifetime configuration.
Sourcepub fn ciphersuite(&self) -> Ciphersuite
pub fn ciphersuite(&self) -> Ciphersuite
Returns the Ciphersuite.
Sourcepub fn join_config(&self) -> &MlsGroupJoinConfig
pub fn join_config(&self) -> &MlsGroupJoinConfig
Returns the MlsGroupJoinConfig of groups created with this create config.
Trait Implementations§
Source§impl Clone for MlsGroupCreateConfig
impl Clone for MlsGroupCreateConfig
Source§fn clone(&self) -> MlsGroupCreateConfig
fn clone(&self) -> MlsGroupCreateConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MlsGroupCreateConfig
impl Debug for MlsGroupCreateConfig
Source§impl Default for MlsGroupCreateConfig
impl Default for MlsGroupCreateConfig
Source§impl<'de> Deserialize<'de> for MlsGroupCreateConfig
impl<'de> Deserialize<'de> for MlsGroupCreateConfig
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>,
Source§impl PartialEq for MlsGroupCreateConfig
impl PartialEq for MlsGroupCreateConfig
Source§impl Serialize for MlsGroupCreateConfig
impl Serialize for MlsGroupCreateConfig
impl Eq for MlsGroupCreateConfig
impl StructuralPartialEq for MlsGroupCreateConfig
Auto Trait Implementations§
impl Freeze for MlsGroupCreateConfig
impl RefUnwindSafe for MlsGroupCreateConfig
impl Send for MlsGroupCreateConfig
impl Sync for MlsGroupCreateConfig
impl Unpin for MlsGroupCreateConfig
impl UnwindSafe for MlsGroupCreateConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more