pub enum DeviceAuthKeyError {
Show 19 variants
AuthenticatorFailure,
Conversion,
CredentialExcluded,
InvalidRecordIdentifier,
InvalidWebVaultUrl,
MissingDeviceAuthKey,
UnregisterFailure,
InvalidCoseKey,
InvalidPublicKeyCredentialDescriptor,
MasterPasswordHash,
MissingCredentialId,
MissingHmacSecret,
MissingUserHandle,
NotImplemented,
RetrieveRegistrationOptionsFailure,
PrfFailure,
SubmitRegistrationFailure,
UserCancelled,
Unknown {
reason: String,
},
}Expand description
Errors related to processing the device auth key.
Variants§
AuthenticatorFailure
Authenticator failed to produce a valid response.
Conversion
Failed to convert between Rust types.
CredentialExcluded
Credential excluded.
InvalidRecordIdentifier
The record identifier stored in metadata is not a valid UUID.
InvalidWebVaultUrl
Invalid Web Vault URL specified.
MissingDeviceAuthKey
No device auth key exists on this device.
UnregisterFailure
Failed to unregister device auth key from server.
InvalidCoseKey
Failed to de-/serialize COSE key data.
InvalidPublicKeyCredentialDescriptor
An invalid public key credential descriptor was passed in the allow list.
MasterPasswordHash
A master password hash could not be generated for the given master password.
MissingCredentialId
Credential ID was not returned in the response and was not passed in the request.
MissingHmacSecret
No HMAC secret was returned with the credential.
MissingUserHandle
User handle was not returned in the response.
NotImplemented
Feature is not yet implemented.
RetrieveRegistrationOptionsFailure
Failed to retrieve the registration options from the server.
PrfFailure
Failed to generate rotateable key set from PRF output.
SubmitRegistrationFailure
Failed to submit registration request to the server.
UserCancelled
User cancelled the operation.
Unknown
An unknown error occurred.
Trait Implementations§
Source§impl<UT> ConvertError<UT> for DeviceAuthKeyError
impl<UT> ConvertError<UT> for DeviceAuthKeyError
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl Debug for DeviceAuthKeyError
impl Debug for DeviceAuthKeyError
Source§impl Display for DeviceAuthKeyError
impl Display for DeviceAuthKeyError
Source§impl Error for DeviceAuthKeyError
impl Error for DeviceAuthKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<UnexpectedUniFFICallbackError> for DeviceAuthKeyError
Available on crate feature uniffi only.
impl From<UnexpectedUniFFICallbackError> for DeviceAuthKeyError
uniffi only.Source§impl<UT> Lift<UT> for DeviceAuthKeyError
impl<UT> Lift<UT> for DeviceAuthKeyError
Source§impl<UT> Lower<UT> for DeviceAuthKeyError
impl<UT> Lower<UT> for DeviceAuthKeyError
Source§impl<UT> LowerError<UT> for DeviceAuthKeyError
impl<UT> LowerError<UT> for DeviceAuthKeyError
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Source§impl<UT> TypeId<UT> for DeviceAuthKeyError
impl<UT> TypeId<UT> for DeviceAuthKeyError
const TYPE_ID_META: MetadataBuffer
Auto Trait Implementations§
impl Freeze for DeviceAuthKeyError
impl RefUnwindSafe for DeviceAuthKeyError
impl Send for DeviceAuthKeyError
impl Sync for DeviceAuthKeyError
impl Unpin for DeviceAuthKeyError
impl UnsafeUnpin for DeviceAuthKeyError
impl UnwindSafe for DeviceAuthKeyError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§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
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.