pub enum ResultCode {
Show 33 variants
Success,
RemovedCard,
ResetCard,
UnpoweredCard,
UnresponsiveCard,
UnsupportedCard,
ReaderUnavailable,
SharingViolation,
NotTransacted,
NoSmartcard,
ProtoMismatch,
SystemCancelled,
NotReady,
Cancelled,
InsufficientBuffer,
InvalidHandle,
InvalidParameter,
InvalidValue,
NoMemory,
Timeout,
UnknownReader,
UnsupportedFeature,
NoReadersAvailable,
ServiceStopped,
NoService,
CommError,
InternalError,
ServerTooBusy,
Unexpected,
Shutdown,
UnknownCard,
Unknown,
Unrecognized(String),
}Expand description
Indicates the PC/SC error code. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html Microsoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
Variants§
Success
success
RemovedCard
removed-card
ResetCard
reset-card
UnpoweredCard
unpowered-card
UnresponsiveCard
unresponsive-card
UnsupportedCard
unsupported-card
reader-unavailable
SharingViolation
sharing-violation
NotTransacted
not-transacted
NoSmartcard
no-smartcard
ProtoMismatch
proto-mismatch
SystemCancelled
system-cancelled
NotReady
not-ready
Cancelled
cancelled
InsufficientBuffer
insufficient-buffer
InvalidHandle
invalid-handle
InvalidParameter
invalid-parameter
InvalidValue
invalid-value
NoMemory
no-memory
Timeout
timeout
UnknownReader
unknown-reader
UnsupportedFeature
unsupported-feature
NoReadersAvailable
no-readers-available
ServiceStopped
service-stopped
NoService
no-service
CommError
comm-error
InternalError
internal-error
ServerTooBusy
server-too-busy
Unexpected
unexpected
Shutdown
shutdown
UnknownCard
unknown-card
Unknown
unknown
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.