pub struct UnableToDecryptInfo {
pub event_id: OwnedEventId,
pub time_to_decrypt: Option<Duration>,
pub cause: UtdCause,
}
Expand description
Information about an event we were unable to decrypt (UTD).
Fields§
§event_id: OwnedEventId
The identifier of the event that couldn’t get decrypted.
time_to_decrypt: Option<Duration>
If the event could be decrypted late (that is, the event was encrypted at first, but could be decrypted later on), then this indicates the time it took to decrypt the event. If it is not set, this is considered a definite UTD.
cause: UtdCause
What we know about what caused this UTD. E.g. was this event sent when we were not a member of this room?
Trait Implementations§
source§impl Clone for UnableToDecryptInfo
impl Clone for UnableToDecryptInfo
source§fn clone(&self) -> UnableToDecryptInfo
fn clone(&self) -> UnableToDecryptInfo
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 UnableToDecryptInfo
impl Debug for UnableToDecryptInfo
source§impl Hash for UnableToDecryptInfo
impl Hash for UnableToDecryptInfo
source§impl PartialEq for UnableToDecryptInfo
impl PartialEq for UnableToDecryptInfo
source§fn eq(&self, other: &UnableToDecryptInfo) -> bool
fn eq(&self, other: &UnableToDecryptInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnableToDecryptInfo
impl StructuralPartialEq for UnableToDecryptInfo
Auto Trait Implementations§
impl Freeze for UnableToDecryptInfo
impl RefUnwindSafe for UnableToDecryptInfo
impl Send for UnableToDecryptInfo
impl Sync for UnableToDecryptInfo
impl Unpin for UnableToDecryptInfo
impl UnwindSafe for UnableToDecryptInfo
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CompatExt for T
impl<T> CompatExt for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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