pub struct MlsConfig {
pub max_group_size: usize,
pub key_rotation_interval: Duration,
pub enable_pcs: bool,
pub enable_fs: bool,
pub cipher_suite: CipherSuite,
pub max_message_age: Duration,
}Expand description
MLS configuration parameters
Fields§
§max_group_size: usizeMaximum number of members in a group
key_rotation_interval: DurationKey rotation interval
enable_pcs: boolEnable post-compromise security
enable_fs: boolEnable forward secrecy
cipher_suite: CipherSuiteCipher suite to use
max_message_age: DurationMaximum message age before rejection
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MlsConfig
impl RefUnwindSafe for MlsConfig
impl Send for MlsConfig
impl Sync for MlsConfig
impl Unpin for MlsConfig
impl UnwindSafe for MlsConfig
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