pub enum Error {
None,
BadCRC,
UnknownCommand,
CommandDataIncorrect,
ChannelDoesNotExist,
ChannelInactive,
ResetOccurred,
BadADCAcquisition,
FailReadingEEPROM,
InternalSPIError,
CommandError,
UnknownError,
}
Error variants which can be returned by the EPS
No errors were encountered
UnknownCommand
CommandDataIncorrect
Supplied data incorrect when processing command
Selected channel does not exist
Selected channel is currently inactive
There was an error with teh ADC acquisition
Reading from EEPROM generated an error
Generic warning about an error on the internal SPI bus
CommandError
The command to fetch the last error failed
Catch all for future error values
impl<__S> GraphQLType<__S> for Error where __S: ScalarValue, &'__b __S: ScalarRefValue<'__b>, | [src] |
[+]
[+] Show hidden undocumented items
The expected context type for this GraphQL type Read more
Type that may carry additional schema information Read more
The name of the GraphQL type to expose. Read more
The meta type representing this GraphQL type.
[−]
Resolve the provided selection set against the current object. Read more
fn resolve_field( &self, info: &Self::TypeInfo, field_name: &str, arguments: &Arguments<S>, executor: &Executor<Self::Context, S> ) -> Result<Value<S>, FieldError<S>> | |
[−]
Resolve the value of a single field on this type. Read more
fn resolve_into_type( &self, info: &Self::TypeInfo, type_name: &str, selection_set: Option<&[Selection<S>]>, executor: &Executor<Self::Context, S> ) -> Result<Value<S>, FieldError<S>> | |
[−]
Resolve this interface or union into a concrete type Read more
[−]
Return the concrete type name for this instance/union. Read more
[+] Show hidden undocumented items
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
[−]
[+] Show hidden undocumented items
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)