[][src]Enum clyde_3g_eps_service::models::last_error::Error

pub enum Error {
    None,
    BadCRC,
    UnknownCommand,
    CommandDataIncorrect,
    ChannelDoesNotExist,
    ChannelInactive,
    ResetOccurred,
    BadADCAcquisition,
    FailReadingEEPROM,
    InternalSPIError,
    CommandError,
    UnknownError,
}
[]

Error variants which can be returned by the EPS

Variants

[]

No errors were encountered

[]

CRC does not match data

[]

Unknown command received

[]

Supplied data incorrect when processing command

[]

Selected channel does not exist

[]

Selected channel is currently inactive

[]

A reset had to occur

[]

There was an error with teh ADC acquisition

[]

Reading from EEPROM generated an error

[]

Generic warning about an error on the internal SPI bus

[]

The command to fetch the last error failed

[]

Catch all for future error values

Trait Implementations

impl Clone for Error
[src]
[+]

[]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]
[+]

impl<__S: ScalarValue> ToInputValue<__S> for Error
[src]
[+]

impl<__S: ScalarValue> FromInputValue<__S> for Error
[src]
[+]

impl<__S> GraphQLType<__S> for Error where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]
[+]

The expected context type for this GraphQL type Read more

Type that may carry additional schema information Read more

[]

Resolve the value of a single field on this type. Read more

[]

Resolve this interface or union into a concrete type Read more

[]

Return the concrete type name for this instance/union. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]
[]

impl<T> ToOwned for T where
    T: Clone
[src]
[]

impl<T> From for T
[src]
[]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]
[]

impl<T> Any for T where
    T: 'static + ?Sized
[src]
[]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]
[]

impl<T> Erased for T

impl<T> Same for T

Should always be Self