Enum core_crypto::e2e_identity::error::E2eIdentityError
source · pub enum E2eIdentityError {
ImplementationError,
NotYetSupported,
MissingExistingClient(MlsCredentialType),
OutOfOrderEnrollment(&'static str),
InvalidRefreshToken,
KeyStoreError(CryptoKeystoreError),
IdentityError(E2eIdentityError),
X509Error(RustyX509CheckError),
UrlError(ParseError),
JsonError(Error),
TrustAnchorAlreadyRegistered,
}
Expand description
End to end identity errors
Variants§
ImplementationError
Client misused this library
NotYetSupported
Incoming support
MissingExistingClient(MlsCredentialType)
The required local MLS client was not initialized. It’s likely a consumer error
OutOfOrderEnrollment(&'static str)
Enrollment methods are called out of order
InvalidRefreshToken
Invalid OIDC RefreshToken supplied
KeyStoreError(CryptoKeystoreError)
An error occurred while trying to persist the RefreshToken in the keystore
IdentityError(E2eIdentityError)
Error creating client Dpop token or acme error
X509Error(RustyX509CheckError)
Error validating X509 parameters
UrlError(ParseError)
Error parsing a URL
JsonError(Error)
Json error
TrustAnchorAlreadyRegistered
We already have an ACME Root Trust Anchor registered. Cannot proceed but this is usually indicative of double registration and can be ignored
Trait Implementations§
source§impl<UT> ConvertError<UT> for E2eIdentityError
impl<UT> ConvertError<UT> for E2eIdentityError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
source§impl Debug for E2eIdentityError
impl Debug for E2eIdentityError
source§impl Display for E2eIdentityError
impl Display for E2eIdentityError
source§impl Error for E2eIdentityError
impl Error for E2eIdentityError
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 E2eIdentityError
impl From<CryptoKeystoreError> for E2eIdentityError
source§impl From<E2eIdentityError> for CryptoError
impl From<E2eIdentityError> for CryptoError
source§fn from(source: E2eIdentityError) -> Self
fn from(source: E2eIdentityError) -> Self
Converts to this type from the input type.
source§impl From<E2eIdentityError> for E2eIdentityError
impl From<E2eIdentityError> for E2eIdentityError
source§impl From<Error> for E2eIdentityError
impl From<Error> for E2eIdentityError
source§impl From<ParseError> for E2eIdentityError
impl From<ParseError> for E2eIdentityError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<RustyX509CheckError> for E2eIdentityError
impl From<RustyX509CheckError> for E2eIdentityError
source§impl<UT> Lift<UT> for E2eIdentityError
impl<UT> Lift<UT> for E2eIdentityError
source§impl<UT> Lower<UT> for E2eIdentityError
impl<UT> Lower<UT> for E2eIdentityError
source§impl<UT> LowerError<UT> for E2eIdentityError
impl<UT> LowerError<UT> for E2eIdentityError
source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
source§impl<UT> TypeId<UT> for E2eIdentityError
impl<UT> TypeId<UT> for E2eIdentityError
const TYPE_ID_META: MetadataBuffer = _
Auto Trait Implementations§
impl Freeze for E2eIdentityError
impl !RefUnwindSafe for E2eIdentityError
impl Send for E2eIdentityError
impl Sync for E2eIdentityError
impl Unpin for E2eIdentityError
impl !UnwindSafe for E2eIdentityError
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read moresource§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