Enum openmls::group::NewGroupError
source · pub enum NewGroupError<KeyStoreError> {
LibraryError(LibraryError),
NoMatchingKeyPackage,
KeyStoreError(KeyStoreError),
UnsupportedProposalType,
UnsupportedExtensionType,
InvalidExtensions(InvalidExtensionError),
}
Expand description
New group error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
NoMatchingKeyPackage
No matching KeyPackage was found in the key store.
KeyStoreError(KeyStoreError)
Error accessing the key store.
UnsupportedProposalType
Unsupported proposal type in required capabilities.
UnsupportedExtensionType
Unsupported extension type in required capabilities.
InvalidExtensions(InvalidExtensionError)
Invalid extensions set in configuration
Trait Implementations§
source§impl<KeyStoreError: Clone> Clone for NewGroupError<KeyStoreError>
impl<KeyStoreError: Clone> Clone for NewGroupError<KeyStoreError>
source§fn clone(&self) -> NewGroupError<KeyStoreError>
fn clone(&self) -> NewGroupError<KeyStoreError>
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<KeyStoreError: Debug> Debug for NewGroupError<KeyStoreError>
impl<KeyStoreError: Debug> Debug for NewGroupError<KeyStoreError>
source§impl<KeyStoreError> Display for NewGroupError<KeyStoreError>
impl<KeyStoreError> Display for NewGroupError<KeyStoreError>
source§impl<KeyStoreError> Error for NewGroupError<KeyStoreError>where
Self: Debug + Display,
impl<KeyStoreError> Error for NewGroupError<KeyStoreError>where Self: Debug + Display,
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<KeyStoreError> From<LibraryError> for NewGroupError<KeyStoreError>
impl<KeyStoreError> From<LibraryError> for NewGroupError<KeyStoreError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError: PartialEq> PartialEq<NewGroupError<KeyStoreError>> for NewGroupError<KeyStoreError>
impl<KeyStoreError: PartialEq> PartialEq<NewGroupError<KeyStoreError>> for NewGroupError<KeyStoreError>
source§fn eq(&self, other: &NewGroupError<KeyStoreError>) -> bool
fn eq(&self, other: &NewGroupError<KeyStoreError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<KeyStoreError> StructuralPartialEq for NewGroupError<KeyStoreError>
Auto Trait Implementations§
impl<KeyStoreError> RefUnwindSafe for NewGroupError<KeyStoreError>where KeyStoreError: RefUnwindSafe,
impl<KeyStoreError> Send for NewGroupError<KeyStoreError>where KeyStoreError: Send,
impl<KeyStoreError> Sync for NewGroupError<KeyStoreError>where KeyStoreError: Sync,
impl<KeyStoreError> Unpin for NewGroupError<KeyStoreError>where KeyStoreError: Unpin,
impl<KeyStoreError> UnwindSafe for NewGroupError<KeyStoreError>where KeyStoreError: 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