pub enum MlsProviderError {
KeystoreError(CryptoKeystoreError),
EntropySeedLengthError {
actual: usize,
expected: usize,
},
RngLockPoison,
UnsufficientEntropy,
CertificateGenerationError,
UnsupportedSignatureScheme,
SignatureError(Error),
StringError(String),
}
Variants§
KeystoreError(CryptoKeystoreError)
EntropySeedLengthError
RngLockPoison
UnsufficientEntropy
CertificateGenerationError
UnsupportedSignatureScheme
SignatureError(Error)
StringError(String)
Trait Implementations§
source§impl Clone for MlsProviderError
impl Clone for MlsProviderError
Note: You will be losing context when cloning the error, because errors should never be Clone
able,
but OpenMLS traits require it, so…let’s do something that makes no sense.
source§impl Debug for MlsProviderError
impl Debug for MlsProviderError
source§impl Display for MlsProviderError
impl Display for MlsProviderError
source§impl Error for MlsProviderError
impl Error for MlsProviderError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<CryptoKeystoreError> for MlsProviderError
impl From<CryptoKeystoreError> for MlsProviderError
source§impl From<Error> for MlsProviderError
impl From<Error> for MlsProviderError
source§impl Into<String> for MlsProviderError
impl Into<String> for MlsProviderError
source§impl PartialEq for MlsProviderError
impl PartialEq for MlsProviderError
Note: You should never test errors for equality because stacktraces can be different, yet we’re constrained by OpenMLS to do this kind of things. So once again…
Auto Trait Implementations§
impl Freeze for MlsProviderError
impl !RefUnwindSafe for MlsProviderError
impl Send for MlsProviderError
impl Sync for MlsProviderError
impl Unpin for MlsProviderError
impl !UnwindSafe for MlsProviderError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more