pub struct MlsConversationConfiguration {
pub ciphersuite: MlsCiphersuite,
pub external_senders: Vec<ExternalSender>,
pub custom: MlsCustomConfiguration,
}
Expand description
The configuration parameters for a group/conversation
Fields§
§ciphersuite: MlsCiphersuite
The OpenMls
Ciphersuite used in the group
external_senders: Vec<ExternalSender>
Delivery service public signature key and credential
custom: MlsCustomConfiguration
Implementation specific configuration
Implementations§
source§impl MlsConversationConfiguration
impl MlsConversationConfiguration
sourcepub fn as_openmls_default_configuration(&self) -> CryptoResult<MlsGroupConfig>
pub fn as_openmls_default_configuration(&self) -> CryptoResult<MlsGroupConfig>
Generates an MlsGroupConfig
from this configuration
sourcepub fn default_leaf_capabilities() -> Capabilities
pub fn default_leaf_capabilities() -> Capabilities
Default capabilities for every generated openmls::prelude::KeyPackage
Trait Implementations§
source§impl Clone for MlsConversationConfiguration
impl Clone for MlsConversationConfiguration
source§fn clone(&self) -> MlsConversationConfiguration
fn clone(&self) -> MlsConversationConfiguration
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 MlsConversationConfiguration
impl Debug for MlsConversationConfiguration
source§impl Default for MlsConversationConfiguration
impl Default for MlsConversationConfiguration
source§fn default() -> MlsConversationConfiguration
fn default() -> MlsConversationConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MlsConversationConfiguration
impl RefUnwindSafe for MlsConversationConfiguration
impl Send for MlsConversationConfiguration
impl Sync for MlsConversationConfiguration
impl Unpin for MlsConversationConfiguration
impl UnwindSafe for MlsConversationConfiguration
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read moresource§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>
Converts
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>
Converts
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