pub enum ErrorCode {
UserCanceled,
IncompatibleHpkeParameters,
MissingImporterKey,
IncorrectImporterKeyEncoding,
UnsupportedVersion,
InvalidJson,
ForbiddenAction,
}
Variants§
UserCanceled
Indicates that a user confirmation action was refused, thus cancelling the exchange.
IncompatibleHpkeParameters
The exporting provider does not support any of the requested HpkeParameters.
MissingImporterKey
The importing provider did not provide a key when it was required by the associated HpkeParameters.
IncorrectImporterKeyEncoding
The importing provider provided an invalid key for the associated HpkeParameters.
UnsupportedVersion
The exporting provider does not support the requested credential exchange protocol version.
InvalidJson
An error occurred while parsing the JSON ExportRequest.
ForbiddenAction
The exporting provider refused the export due to either policy or inability to validate the exporting provider.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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