Enum spaceapi_server::sensors::SensorError []

pub enum SensorError {
    UnknownSensor(String),
    Redis(RedisError),
    R2d2(GetTimeout),
}

A SensorError wraps problems that can occur when reading or updating sensor values.

This type is only used for internal purposes and should not be used by third party code.

Variants

Trait Implementations

impl Debug for SensorError
[src]

Formats the value using the given formatter.

impl From<String> for SensorError

Performs the conversion.

impl From<RedisError> for SensorError

Performs the conversion.

impl From<GetTimeout> for SensorError

Performs the conversion.

impl Display for SensorError

Formats the value using the given formatter. Read more

impl Error for SensorError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more