pub enum Error {
    ReadModelData,
    ReadParameters,
    SetParameters,
    SerialRead,
    SerialWrite,
    AuxPin,
    Parameter {
        source: Error,
    },
}

Variants

ReadModelData

Failed to read model data.

ReadParameters

Failed to read parameters.

SetParameters

Failed to set parameters.

SerialRead

Failed to read serial port.

SerialWrite

Failed to write serial port.

AuxPin

Failed to wait for AUX pin.

Parameter

Fields

source: Error

Failed to process parameters.

Trait Implementations

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Returns a Backtrace that may be printed.
Returns an iterator for traversing the chain of errors, starting with the current error and continuing with recursive calls to Error::source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.