[][src]Enum tsic::TsicError

pub enum TsicError {
    TemperatureOutOfRange {
        measured: u16,

Contains all errors that can happen during a reading from the sensor.



The parity check for one of the packets failed.

This might be a temporary issue, so attempting to perform another read might resolve the error.


Failed to read the high/low state of signal the pin.


Failed to set the high/low state of the vdd pin.


The temperature reading is out of range.

Note that it includes the raw value (not in celsius!) for debugging purposes.

Fields of TemperatureOutOfRange

measured: u16

The (wrong) raw measured temperature.

Trait Implementations

impl Debug for TsicError[src]

Auto Trait Implementations

impl Send for TsicError

impl Sync for TsicError

impl Unpin for TsicError

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.