pub enum CreateMessageError {
LibraryError(LibraryError),
NoMatchingCredentialBundle,
GroupStateError(MlsGroupStateError),
}
Expand description
Create message error
Variants
LibraryError(LibraryError)
See LibraryError
for more details.
NoMatchingCredentialBundle
The own CredentialBundle could not be found in the key store.
GroupStateError(MlsGroupStateError)
See MlsGroupStateError
for more details.
Trait Implementations
sourceimpl Clone for CreateMessageError
impl Clone for CreateMessageError
sourcefn clone(&self) -> CreateMessageError
fn clone(&self) -> CreateMessageError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateMessageError
impl Debug for CreateMessageError
sourceimpl Display for CreateMessageError
impl Display for CreateMessageError
sourceimpl Error for CreateMessageError
impl Error for CreateMessageError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<LibraryError> for CreateMessageError
impl From<LibraryError> for CreateMessageError
sourcefn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
sourceimpl From<MlsGroupStateError> for CreateMessageError
impl From<MlsGroupStateError> for CreateMessageError
sourcefn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CreateMessageError> for CreateMessageError
impl PartialEq<CreateMessageError> for CreateMessageError
sourcefn eq(&self, other: &CreateMessageError) -> bool
fn eq(&self, other: &CreateMessageError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateMessageError) -> bool
fn ne(&self, other: &CreateMessageError) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateMessageError
Auto Trait Implementations
impl RefUnwindSafe for CreateMessageError
impl Send for CreateMessageError
impl Sync for CreateMessageError
impl Unpin for CreateMessageError
impl UnwindSafe for CreateMessageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more