Struct MlsGroupConfig
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§
§impl MlsGroupConfig
impl MlsGroupConfig
pub fn builder() -> MlsGroupConfigBuilder
pub fn builder() -> MlsGroupConfigBuilder
Returns a builder for MlsGroupConfig
pub fn wire_format_policy(&self) -> WireFormatPolicy
pub fn wire_format_policy(&self) -> WireFormatPolicy
Returns the MlsGroupConfig wire format policy.
pub fn padding_size(&self) -> usize
pub fn padding_size(&self) -> usize
Returns the MlsGroupConfig padding size.
pub fn max_past_epochs(&self) -> usize
pub fn max_past_epochs(&self) -> usize
Returns the MlsGroupConfig max past epochs.
pub fn number_of_resumption_psks(&self) -> usize
pub fn number_of_resumption_psks(&self) -> usize
Returns the MlsGroupConfig number of resumption psks.
pub 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.
pub fn sender_ratchet_configuration(&self) -> &SenderRatchetConfiguration
pub fn sender_ratchet_configuration(&self) -> &SenderRatchetConfiguration
Returns the MlsGroupConfig sender ratchet configuration.
pub fn external_senders(&self) -> &Vec<ExternalSender>
pub fn external_senders(&self) -> &Vec<ExternalSender>
Returns the MlsGroupConfig external senders extension
pub fn lifetime(&self) -> &Lifetime
pub fn lifetime(&self) -> &Lifetime
Returns the MlsGroupConfig lifetime configuration.
pub fn crypto_config(&self) -> &CryptoConfig
pub fn crypto_config(&self) -> &CryptoConfig
Returns the [CryptoConfig].
pub fn leaf_extensions(&self) -> &Extensions
pub fn leaf_extensions(&self) -> &Extensions
Returns the MlsGroupConfig leaf extensions configuration.
pub fn trust_certificates(&self) -> &Vec<PerDomainTrustAnchor>
pub fn trust_certificates(&self) -> &Vec<PerDomainTrustAnchor>
Returns the MlsGroupConfig group extensions configuration.
Trait Implementations§
§impl Clone for MlsGroupConfig
impl Clone for MlsGroupConfig
§fn clone(&self) -> MlsGroupConfig
fn clone(&self) -> MlsGroupConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for MlsGroupConfig
impl Debug for MlsGroupConfig
§impl Default for MlsGroupConfig
impl Default for MlsGroupConfig
§fn default() -> MlsGroupConfig
fn default() -> MlsGroupConfig
§impl<'de> Deserialize<'de> for MlsGroupConfig
impl<'de> Deserialize<'de> for MlsGroupConfig
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MlsGroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MlsGroupConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl PartialEq for MlsGroupConfig
impl PartialEq for MlsGroupConfig
§impl Serialize for MlsGroupConfig
impl Serialize for MlsGroupConfig
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for MlsGroupConfig
impl StructuralPartialEq for MlsGroupConfig
Auto Trait Implementations§
impl Freeze for MlsGroupConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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