#[non_exhaustive]pub enum VendorErrorKind {
ExternalProgramBlocked,
ServerDataMismatch,
}Expand description
Vendor/firmware-specific response codes observed on real devices but absent from the SRC integration spec (§4.10).
These are deliberately segregated from ServerErrorKind’s documented variants: the spec is
the stable contract, whereas these depend on a particular firmware. Descriptions come from the
device’s own built-in response-code reference.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ExternalProgramBlocked
408 — The HDM’s own UI is in use (a user is operating the device’s screens), so
external-program access is temporarily blocked. Newland N950:
“Գործողություն է կատարվում ՀԴՄ-ի էջերում: Արտաքին ծրագրի աշխատանքը բլոկավորված է:”.
Transient — retry once the device screen is idle.
ServerDataMismatch
503 — Mismatch in the data received from the (tax-authority) server. Newland N950:
“Սերվերից ստացված տվյալների անհամապատասխանություն”. Indicates the device’s view of a
record disagrees with the central server; not resolved by a blind retry.
Implementations§
Source§impl VendorErrorKind
impl VendorErrorKind
Trait Implementations§
Source§impl Clone for VendorErrorKind
impl Clone for VendorErrorKind
Source§fn clone(&self) -> VendorErrorKind
fn clone(&self) -> VendorErrorKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for VendorErrorKind
Source§impl Debug for VendorErrorKind
impl Debug for VendorErrorKind
impl Eq for VendorErrorKind
Source§impl PartialEq for VendorErrorKind
impl PartialEq for VendorErrorKind
Source§fn eq(&self, other: &VendorErrorKind) -> bool
fn eq(&self, other: &VendorErrorKind) -> bool
self and other values to be equal, and is used by ==.