#[non_exhaustive]#[repr(u32)]pub enum Error {
Show 31 variants
HostMemory = 2,
GeneralError = 5,
FunctionFailed = 6,
FunctionNotSupported = 84,
MechanismInvalid = 112,
MechanismParamInvalid = 113,
ObjectHandleInvalid = 130,
AeadError = 131,
CborError = 132,
ClientCountExceeded = 133,
EntropyMalfunction = 134,
FilesystemReadFailure = 135,
FilesystemWriteFailure = 136,
ImplementationError = 137,
InternalError = 138,
InvalidPath = 139,
InvalidSerializedKey = 140,
InvalidSerializedReply = 141,
InvalidSerializedRequest = 142,
InvalidSerializationFormat = 143,
MechanismNotAvailable = 144,
NonceOverflow = 145,
NoSuchCertificate = 146,
NoSuchKey = 147,
NotJustLetters = 148,
ReplySerializationFailure = 149,
RequestNotAvailable = 150,
SignDataTooLarge = 151,
WrongKeyKind = 152,
WrongMessageLength = 153,
WrongSignatureLength = 154,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HostMemory = 2
GeneralError = 5
FunctionFailed = 6
FunctionNotSupported = 84
MechanismInvalid = 112
MechanismParamInvalid = 113
ObjectHandleInvalid = 130
AeadError = 131
CborError = 132
ClientCountExceeded = 133
EntropyMalfunction = 134
FilesystemReadFailure = 135
FilesystemWriteFailure = 136
ImplementationError = 137
InternalError = 138
InvalidPath = 139
InvalidSerializedKey = 140
InvalidSerializedReply = 141
InvalidSerializedRequest = 142
InvalidSerializationFormat = 143
MechanismNotAvailable = 144
NonceOverflow = 145
NoSuchCertificate = 146
NoSuchKey = 147
NotJustLetters = 148
ReplySerializationFailure = 149
RequestNotAvailable = 150
SignDataTooLarge = 151
WrongKeyKind = 152
WrongMessageLength = 153
WrongSignatureLength = 154
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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