pub enum CreationFromExternalError {
LibraryError(LibraryError),
TreeSyncError(TreeSyncFromNodesError),
UnknownSender,
InvalidGroupInfoSignature,
TreeHashMismatch,
UnsupportedMlsVersion,
}
Expand description
Public group creation from external error.
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
TreeSyncError(TreeSyncFromNodesError)
This error indicates the public tree is invalid. See TreeSyncFromNodesError
for more details.
UnknownSender
Sender not found in tree.
InvalidGroupInfoSignature
The signature on the GroupInfo is not valid.
TreeHashMismatch
The computed tree hash does not match the one in the GroupInfo.
UnsupportedMlsVersion
We don’t support the version of the group we are trying to join.
Trait Implementations§
source§impl Clone for CreationFromExternalError
impl Clone for CreationFromExternalError
source§fn clone(&self) -> CreationFromExternalError
fn clone(&self) -> CreationFromExternalError
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 CreationFromExternalError
impl Debug for CreationFromExternalError
source§impl Display for CreationFromExternalError
impl Display for CreationFromExternalError
source§impl Error for CreationFromExternalError
impl Error for CreationFromExternalError
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<KeyStoreError> From<CreationFromExternalError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<CreationFromExternalError> for WelcomeError<KeyStoreError>
source§fn from(source: CreationFromExternalError) -> Self
fn from(source: CreationFromExternalError) -> Self
Converts to this type from the input type.
source§impl From<LibraryError> for CreationFromExternalError
impl From<LibraryError> for CreationFromExternalError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl From<TreeSyncFromNodesError> for CreationFromExternalError
impl From<TreeSyncFromNodesError> for CreationFromExternalError
source§fn from(source: TreeSyncFromNodesError) -> Self
fn from(source: TreeSyncFromNodesError) -> Self
Converts to this type from the input type.
source§impl PartialEq<CreationFromExternalError> for CreationFromExternalError
impl PartialEq<CreationFromExternalError> for CreationFromExternalError
source§fn eq(&self, other: &CreationFromExternalError) -> bool
fn eq(&self, other: &CreationFromExternalError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreationFromExternalError
Auto Trait Implementations§
impl RefUnwindSafe for CreationFromExternalError
impl Send for CreationFromExternalError
impl Sync for CreationFromExternalError
impl Unpin for CreationFromExternalError
impl UnwindSafe for CreationFromExternalError
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