Enum openmls::group::ProcessMessageError
source · pub enum ProcessMessageError<StorageError> {
LibraryError(LibraryError),
IncompatibleWireFormat,
ValidationError(ValidationError),
GroupStateError(MlsGroupStateError<StorageError>),
InvalidSignature,
InvalidCommit(StageCommitError),
UnauthorizedExternalApplicationMessage,
UnsupportedProposalType,
}
Expand description
Process message error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
IncompatibleWireFormat
The message’s wire format is incompatible with the group’s wire format policy.
ValidationError(ValidationError)
See ValidationError
for more details.
GroupStateError(MlsGroupStateError<StorageError>)
See MlsGroupStateError
for more details.
InvalidSignature
The message’s signature is invalid.
InvalidCommit(StageCommitError)
See StageCommitError
for more details.
External application messages are not permitted.
UnsupportedProposalType
The proposal is invalid for the Sender of type External
Trait Implementations§
source§impl<StorageError: Clone> Clone for ProcessMessageError<StorageError>
impl<StorageError: Clone> Clone for ProcessMessageError<StorageError>
source§fn clone(&self) -> ProcessMessageError<StorageError>
fn clone(&self) -> ProcessMessageError<StorageError>
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<StorageError: Debug> Debug for ProcessMessageError<StorageError>
impl<StorageError: Debug> Debug for ProcessMessageError<StorageError>
source§impl<StorageError> Display for ProcessMessageError<StorageError>where
MlsGroupStateError<StorageError>: Display,
impl<StorageError> Display for ProcessMessageError<StorageError>where
MlsGroupStateError<StorageError>: Display,
source§impl<StorageError> Error for ProcessMessageError<StorageError>
impl<StorageError> Error for ProcessMessageError<StorageError>
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<StorageError> From<LibraryError> for ProcessMessageError<StorageError>
impl<StorageError> From<LibraryError> for ProcessMessageError<StorageError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProcessMessageError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProcessMessageError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<StageCommitError> for ProcessMessageError<StorageError>
impl<StorageError> From<StageCommitError> for ProcessMessageError<StorageError>
source§fn from(source: StageCommitError) -> Self
fn from(source: StageCommitError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<ValidationError> for ProcessMessageError<StorageError>
impl<StorageError> From<ValidationError> for ProcessMessageError<StorageError>
source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
source§impl<StorageError: PartialEq> PartialEq for ProcessMessageError<StorageError>
impl<StorageError: PartialEq> PartialEq for ProcessMessageError<StorageError>
source§fn eq(&self, other: &ProcessMessageError<StorageError>) -> bool
fn eq(&self, other: &ProcessMessageError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for ProcessMessageError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for ProcessMessageError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for ProcessMessageError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for ProcessMessageError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for ProcessMessageError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for ProcessMessageError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for ProcessMessageError<StorageError>where
StorageError: UnwindSafe,
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> 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