[][src]Enum max31855::Error

pub enum Error<SpiE, CsE> {
    SpiError(SpiE),
    ChipSelectError(CsE),
    Fault,
    VccShortFault,
    GroundShortFault,
    MissingThermocoupleFault,
}

Possible errors returned by this crate

Variants

SpiError(SpiE)

An error returned by a call to Transfer::transfer

ChipSelectError(CsE)

An error returned by a call to OutputPin::{set_high, set_low}

Fault

The fault bit (16) was set in the response from the MAX31855

VccShortFault

The SCV fault bit (2) was set in the response from the MAX31855

GroundShortFault

The SCG fault bit (1) was set in the response from the MAX31855

MissingThermocoupleFault

The OC fault bit (0) was set in the response from the MAX31855

Trait Implementations

impl<SpiE: Debug, CsE: Debug> Debug for Error<SpiE, CsE>[src]

Auto Trait Implementations

impl<SpiE, CsE> Send for Error<SpiE, CsE> where
    CsE: Send,
    SpiE: Send

impl<SpiE, CsE> Sync for Error<SpiE, CsE> where
    CsE: Sync,
    SpiE: Sync

impl<SpiE, CsE> Unpin for Error<SpiE, CsE> where
    CsE: Unpin,
    SpiE: Unpin

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.