Enum openmls::framing::errors::MessageDecryptionError
source · pub enum MessageDecryptionError {
LibraryError(LibraryError),
GenerationOutOfBound,
AeadError,
WrongWireFormat,
MalformedContent,
SecretTreeError(SecretTreeError),
SenderError(SenderError),
}
Expand description
Message decryption error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
GenerationOutOfBound
Couldn’t find a ratcheting secret for the given sender and generation.
AeadError
An error occurred during AEAD decryption.
WrongWireFormat
The WireFormat was not PrivateMessage.
MalformedContent
The content is malformed.
SecretTreeError(SecretTreeError)
See SecretTreeError
for more details.
SenderError(SenderError)
See SenderError
for more details.
Trait Implementations§
source§impl Clone for MessageDecryptionError
impl Clone for MessageDecryptionError
source§fn clone(&self) -> MessageDecryptionError
fn clone(&self) -> MessageDecryptionError
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 MessageDecryptionError
impl Debug for MessageDecryptionError
source§impl Display for MessageDecryptionError
impl Display for MessageDecryptionError
source§impl Error for MessageDecryptionError
impl Error for MessageDecryptionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<LibraryError> for MessageDecryptionError
impl From<LibraryError> for MessageDecryptionError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl From<MessageDecryptionError> for ValidationError
impl From<MessageDecryptionError> for ValidationError
source§fn from(source: MessageDecryptionError) -> Self
fn from(source: MessageDecryptionError) -> Self
Converts to this type from the input type.
source§impl From<SecretTreeError> for MessageDecryptionError
impl From<SecretTreeError> for MessageDecryptionError
source§fn from(source: SecretTreeError) -> Self
fn from(source: SecretTreeError) -> Self
Converts to this type from the input type.
source§impl From<SenderError> for MessageDecryptionError
impl From<SenderError> for MessageDecryptionError
source§fn from(source: SenderError) -> Self
fn from(source: SenderError) -> Self
Converts to this type from the input type.
source§impl PartialEq<MessageDecryptionError> for MessageDecryptionError
impl PartialEq<MessageDecryptionError> for MessageDecryptionError
source§fn eq(&self, other: &MessageDecryptionError) -> bool
fn eq(&self, other: &MessageDecryptionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageDecryptionError
Auto Trait Implementations§
impl RefUnwindSafe for MessageDecryptionError
impl Send for MessageDecryptionError
impl Sync for MessageDecryptionError
impl Unpin for MessageDecryptionError
impl UnwindSafe for MessageDecryptionError
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