#[non_exhaustive]pub enum E2eeStatus {
Preparing,
Joining {
since: Millis,
},
Active {
epoch: Epoch,
since: Millis,
},
Securing {
since: Millis,
show_after_ms: u64,
},
Recovering {
reason: &'static str,
since: Millis,
},
DeviceNotEnrolled,
ServerIdentityChanged,
Unsupported {
reason: String,
},
Failed {
reason: &'static str,
},
Left {
reason: LeftReason,
},
}Expand description
The UI status. Every change is an Output::Status, carrying its timestamp.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Preparing
Preparing the key package.
Joining
Join sent; waiting for init / welcome.
Active
Keys active.
Securing
Media may be connected but keys are not active yet; the UI shows “Securing…” only
show_after_ms after since (from params.securing_indicator_after_ms).
Recovering
Re-adding or resetting; old keys still in use.
DeviceNotEnrolled
No usable device certificate.
ServerIdentityChanged
A pinned server key changed: no joins until the store is cleared.
Unsupported
This client cannot join encrypted calls.
Failed
Failed for good (recovery_timeout, sender_index_stuck, create_failed, …).
Left
Left.
Fields
§
reason: LeftReasonWhy.
Trait Implementations§
Source§impl Clone for E2eeStatus
impl Clone for E2eeStatus
Source§impl Debug for E2eeStatus
impl Debug for E2eeStatus
impl Eq for E2eeStatus
Source§impl PartialEq for E2eeStatus
impl PartialEq for E2eeStatus
impl StructuralPartialEq for E2eeStatus
Auto Trait Implementations§
impl Forget for E2eeStatus
impl Freeze for E2eeStatus
impl Move for E2eeStatus
impl RefUnwindSafe for E2eeStatus
impl Send for E2eeStatus
impl Sync for E2eeStatus
impl Unpin for E2eeStatus
impl UnsafeUnpin for E2eeStatus
impl UnwindSafe for E2eeStatus
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
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> ⓘ
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