Enum openmls::group::ExternalCommitError
source · pub enum ExternalCommitError {
LibraryError(LibraryError),
MissingRatchetTree,
MissingExternalPub,
UnsupportedCiphersuite,
UnknownSender,
InvalidGroupInfoSignature,
CommitError,
PublicGroupError(CreationFromExternalError),
MissingCredential,
}
Expand description
External Commit error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
MissingRatchetTree
No ratchet tree available to build initial tree.
MissingExternalPub
No external_pub extension available to join group by external commit.
UnsupportedCiphersuite
We don’t support the ciphersuite of the group we are trying to join.
UnknownSender
Sender not found in tree.
InvalidGroupInfoSignature
The signature over the given group info is invalid.
CommitError
Error creating external commit.
PublicGroupError(CreationFromExternalError)
This error indicates the public tree is invalid. See
CreationFromExternalError
for more details.
MissingCredential
Credential is missing from external commit.
Trait Implementations§
source§impl Clone for ExternalCommitError
impl Clone for ExternalCommitError
source§fn clone(&self) -> ExternalCommitError
fn clone(&self) -> ExternalCommitError
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 ExternalCommitError
impl Debug for ExternalCommitError
source§impl Display for ExternalCommitError
impl Display for ExternalCommitError
source§impl Error for ExternalCommitError
impl Error for ExternalCommitError
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<CreationFromExternalError> for ExternalCommitError
impl From<CreationFromExternalError> for ExternalCommitError
source§fn from(source: CreationFromExternalError) -> Self
fn from(source: CreationFromExternalError) -> Self
Converts to this type from the input type.
source§impl From<LibraryError> for ExternalCommitError
impl From<LibraryError> for ExternalCommitError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ExternalCommitError> for ExternalCommitError
impl PartialEq<ExternalCommitError> for ExternalCommitError
source§fn eq(&self, other: &ExternalCommitError) -> bool
fn eq(&self, other: &ExternalCommitError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExternalCommitError
Auto Trait Implementations§
impl RefUnwindSafe for ExternalCommitError
impl Send for ExternalCommitError
impl Sync for ExternalCommitError
impl Unpin for ExternalCommitError
impl UnwindSafe for ExternalCommitError
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