#[non_exhaustive]pub enum UndecryptReason {
InvalidKey,
MissingKey,
}Expand description
Why a receiver cannot decrypt a sender.
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.
InvalidKey
The SDK has a key at the frame’s index but the tag fails.
MissingKey
No key at the frame’s index.
Implementations§
Trait Implementations§
Source§impl Clone for UndecryptReason
impl Clone for UndecryptReason
impl Copy for UndecryptReason
Source§impl Debug for UndecryptReason
impl Debug for UndecryptReason
impl Eq for UndecryptReason
Source§impl Hash for UndecryptReason
impl Hash for UndecryptReason
Source§impl PartialEq for UndecryptReason
impl PartialEq for UndecryptReason
impl StructuralPartialEq for UndecryptReason
Auto Trait Implementations§
impl Forget for UndecryptReason
impl Freeze for UndecryptReason
impl Move for UndecryptReason
impl RefUnwindSafe for UndecryptReason
impl Send for UndecryptReason
impl Sync for UndecryptReason
impl Unpin for UndecryptReason
impl UnsafeUnpin for UndecryptReason
impl UnwindSafe for UndecryptReason
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