#[repr(i16)]pub enum HalError {
Show 29 variants
LicenseKeyAuthFailure = -18,
BillPresentInEscrow = -15,
BillNotPresentInEscrow = -14,
BillReject = -13,
PrintImageErr = -12,
OpenSerialPortFailure = -11,
BufferOverflow = -10,
DeviceTimeout = -9,
LibraryInternalErr = -8,
DeviceAlreadyOpen = -7,
DeviceNotReady = -6,
Cancelled = -5,
InvalidData = -3,
DeviceBusy = -2,
DeviceFailure = -1,
RequestFieldInvalid = 1,
InternalErr = 2,
InternalValidationErr = 3,
ComponentNotImplemented = 4,
PreconditionFailed = 5,
ApplicationTimeout = 6,
InvalidDenomination = 7,
ApplicationBusy = 8,
DeviceCommErr = 9,
FirmwareErr = 10,
PhysicalTamper = 11,
SystemErr = 12,
MethodNotImplemented = 13,
DecodingErr = 14,
}Expand description
HAL error codes
Variants§
LicenseKeyAuthFailure = -18
BillPresentInEscrow = -15
BillNotPresentInEscrow = -14
BillReject = -13
PrintImageErr = -12
OpenSerialPortFailure = -11
BufferOverflow = -10
DeviceTimeout = -9
LibraryInternalErr = -8
DeviceAlreadyOpen = -7
DeviceNotReady = -6
Cancelled = -5
InvalidData = -3
DeviceBusy = -2
DeviceFailure = -1
RequestFieldInvalid = 1
InternalErr = 2
InternalValidationErr = 3
ComponentNotImplemented = 4
PreconditionFailed = 5
ApplicationTimeout = 6
InvalidDenomination = 7
ApplicationBusy = 8
DeviceCommErr = 9
FirmwareErr = 10
PhysicalTamper = 11
SystemErr = 12
MethodNotImplemented = 13
DecodingErr = 14
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HalError
impl<'de> Deserialize<'de> for HalError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<HalError> for JsonRpcErrorCode
impl From<HalError> for JsonRpcErrorCode
impl Copy for HalError
impl StructuralPartialEq for HalError
Auto Trait Implementations§
impl Freeze for HalError
impl RefUnwindSafe for HalError
impl Send for HalError
impl Sync for HalError
impl Unpin for HalError
impl UnwindSafe for HalError
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