pub struct CustomConfiguration {
pub key_rotation_span: Option<Duration>,
pub wire_policy: WirePolicy,
pub out_of_order_tolerance: u32,
pub maximum_forward_distance: u32,
}Expand description
The configuration parameters for a group/conversation which are not handled natively by openmls
Fields§
§key_rotation_span: Option<Duration>Duration in seconds after which we will automatically force a self_update commit
wire_policy: WirePolicyDefines if handshake messages are encrypted or not
out_of_order_tolerance: u32Window for which decryption secrets are kept within an epoch. Use this with caution since this affects forward secrecy within an epoch. Use this when the Delivery Service cannot guarantee application messages order.
maximum_forward_distance: u32How many application messages can be skipped. Use this when the Delivery Service can drop application messages
Trait Implementations§
Source§impl Clone for CustomConfiguration
impl Clone for CustomConfiguration
Source§fn clone(&self) -> CustomConfiguration
fn clone(&self) -> CustomConfiguration
Returns a duplicate 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 CustomConfiguration
impl Debug for CustomConfiguration
Source§impl Default for CustomConfiguration
impl Default for CustomConfiguration
Source§impl<'de> Deserialize<'de> for CustomConfiguration
impl<'de> Deserialize<'de> for CustomConfiguration
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
Auto Trait Implementations§
impl Freeze for CustomConfiguration
impl RefUnwindSafe for CustomConfiguration
impl Send for CustomConfiguration
impl Sync for CustomConfiguration
impl Unpin for CustomConfiguration
impl UnsafeUnpin for CustomConfiguration
impl UnwindSafe for CustomConfiguration
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§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