Enum openmls::extensions::errors::ExtensionError
source · pub enum ExtensionError {
UnsupportedProposalType,
UnsupportedExtensionType,
LibraryError(LibraryError),
InvalidExtensionType(ErrorString),
Capabilities(CapabilitiesExtensionError),
KeyPackageId(KeyPackageIdError),
ParentHash(ParentHashError),
RatchetTree(RatchetTreeError),
InvalidExtension(InvalidExtensionError),
}
Expand description
Extension error
Variants§
UnsupportedProposalType
Unsupported proposal type in required capabilities.
UnsupportedExtensionType
Unsupported extension type in required capabilities.
LibraryError(LibraryError)
See LibraryError
for more details.
InvalidExtensionType(ErrorString)
See ErrorString
for more details.
Capabilities(CapabilitiesExtensionError)
See CapabilitiesExtensionError
for more details.
KeyPackageId(KeyPackageIdError)
See KeyPackageIdError
for more details.
ParentHash(ParentHashError)
See ParentHashError
for more details.
RatchetTree(RatchetTreeError)
See RatchetTreeError
for more details.
InvalidExtension(InvalidExtensionError)
See InvalidExtensionError
for more details.
Trait Implementations§
source§impl Clone for ExtensionError
impl Clone for ExtensionError
source§fn clone(&self) -> ExtensionError
fn clone(&self) -> ExtensionError
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 ExtensionError
impl Debug for ExtensionError
source§impl Display for ExtensionError
impl Display for ExtensionError
source§impl Error for ExtensionError
impl Error for ExtensionError
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<CapabilitiesExtensionError> for ExtensionError
impl From<CapabilitiesExtensionError> for ExtensionError
source§fn from(source: CapabilitiesExtensionError) -> Self
fn from(source: CapabilitiesExtensionError) -> Self
Converts to this type from the input type.
source§impl From<ErrorString> for ExtensionError
impl From<ErrorString> for ExtensionError
source§fn from(source: ErrorString) -> Self
fn from(source: ErrorString) -> Self
Converts to this type from the input type.
source§impl From<InvalidExtensionError> for ExtensionError
impl From<InvalidExtensionError> for ExtensionError
source§fn from(source: InvalidExtensionError) -> Self
fn from(source: InvalidExtensionError) -> Self
Converts to this type from the input type.
source§impl From<KeyPackageIdError> for ExtensionError
impl From<KeyPackageIdError> for ExtensionError
source§fn from(source: KeyPackageIdError) -> Self
fn from(source: KeyPackageIdError) -> Self
Converts to this type from the input type.
source§impl From<LibraryError> for ExtensionError
impl From<LibraryError> for ExtensionError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl From<ParentHashError> for ExtensionError
impl From<ParentHashError> for ExtensionError
source§fn from(source: ParentHashError) -> Self
fn from(source: ParentHashError) -> Self
Converts to this type from the input type.
source§impl From<RatchetTreeError> for ExtensionError
impl From<RatchetTreeError> for ExtensionError
source§fn from(source: RatchetTreeError) -> Self
fn from(source: RatchetTreeError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ExtensionError> for ExtensionError
impl PartialEq<ExtensionError> for ExtensionError
source§fn eq(&self, other: &ExtensionError) -> bool
fn eq(&self, other: &ExtensionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExtensionError
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionError
impl Send for ExtensionError
impl Sync for ExtensionError
impl Unpin for ExtensionError
impl UnwindSafe for ExtensionError
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