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
Note: You will be losing context when cloning the error, because errors should never be Cloneable,
but OpenMLS traits require it, so…let’s do something that makes no sense.
impl Clone for MlsProviderError
Note: You will be losing context when cloning the error, because errors should never be Cloneable,
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
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…
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§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