#[non_exhaustive]pub struct E2eeConfig {Show 14 fields
pub missing_key_check_ms: u64,
pub recovery_watchdog_ms: u64,
pub recovery_watchdog_tries: u32,
pub prepared_kp_max_age_s: u64,
pub clock_skew_s: u64,
pub cert_renew_before_s: u64,
pub report_max_per_hour: u32,
pub roster_grace_ms: u64,
pub peer_undecryptable_after_ms: u64,
pub unknown_call_max_messages: usize,
pub unknown_call_max_bytes: usize,
pub unknown_call_max_calls: usize,
pub key_package_lifetime_back_s: u64,
pub key_package_lifetime_fwd_s: u64,
}Expand description
The local (not server-relayed) timings and limits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.missing_key_check_ms: u64The missing-key check runs this long after an activation.
recovery_watchdog_ms: u64Resyncing / Resetting watchdog period.
recovery_watchdog_tries: u32Watchdog retries before Failed{recovery_timeout}.
prepared_kp_max_age_s: u64A prepared KeyPackage is stale after this long (and past the server TTL).
clock_skew_s: u64Certificate clock skew (± seconds).
cert_renew_before_s: u64Renew the device certificate when less than this is left.
report_max_per_hour: u32report roster anomalies per leaf per hour; slot signals per hour (separate bucket).
roster_grace_ms: u64The joining window for roster anomalies (engine_participant_without_leaf,
leaf_without_voice_state).
peer_undecryptable_after_ms: u64peer_undecryptable: failures must last this long (after the grace) before a state check.
unknown_call_max_messages: usizeUnknown-call buffer: messages and bytes per call, and calls.
unknown_call_max_bytes: usizeBytes per unknown call.
unknown_call_max_calls: usizeUnknown calls buffered at once.
key_package_lifetime_back_s: u64Commit bytes are recorded at most this long for the security code (unused bound).
key_package_lifetime_fwd_s: u64KeyPackage lifetime forward from now (now + 6600, a 2 h range with the back margin).
Implementations§
Source§impl E2eeConfig
impl E2eeConfig
Sourcepub fn new() -> E2eeConfig
pub fn new() -> E2eeConfig
The default timings and limits (the same as E2eeConfig::default()); change single
fields on the result.
Trait Implementations§
Source§impl Clone for E2eeConfig
impl Clone for E2eeConfig
Source§impl Debug for E2eeConfig
impl Debug for E2eeConfig
Source§impl Default for E2eeConfig
impl Default for E2eeConfig
Source§fn default() -> E2eeConfig
fn default() -> E2eeConfig
impl Eq for E2eeConfig
Source§impl PartialEq for E2eeConfig
impl PartialEq for E2eeConfig
impl StructuralPartialEq for E2eeConfig
Auto Trait Implementations§
impl Forget for E2eeConfig
impl Freeze for E2eeConfig
impl Move for E2eeConfig
impl RefUnwindSafe for E2eeConfig
impl Send for E2eeConfig
impl Sync for E2eeConfig
impl Unpin for E2eeConfig
impl UnsafeUnpin for E2eeConfig
impl UnwindSafe for E2eeConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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