Enum elatec_twn4_simple::ReaderError[][src]

pub enum ReaderError {
    None(usize),
    UnknownFunction,
    MissingParameter,
    UnusedParameters,
    InvalidFunction,
    Parser,
    Unknown(u8),
}

Error responses returned by the reader

Variants

ERR_NONE; the inner value contains the number of subsequent bytes read

ERR_UNKNOWN_FUNCTION

ERR_MISSING_PARAMETER

ERR_UNUSED_PARAMETERS

ERR_INVALID_FUNCTION

ERR_PARSER

Unknown/unrecognized; the inner value contains the (hex-decoded) error value

Trait Implementations

impl Debug for ReaderError
[src]

Formats the value using the given formatter. Read more

impl From<u8> for ReaderError
[src]

Convert a hex-decoded byte response into a ReaderError

Auto Trait Implementations

impl Send for ReaderError

impl Sync for ReaderError