[][src]Enum one_wire_bus::OneWireError

pub enum OneWireError<E> {
    BusNotHigh,
    PinError(E),
    UnexpectedResponse,
    FamilyCodeMismatch,
    CrcMismatch,
    Timeout,
}

Variants

BusNotHigh

The Bus was expected to be pulled high by a ~5K ohm pull-up resistor, but it wasn't

PinError(E)
UnexpectedResponse

An unexpected response was received from a command. This generally happens when a new sensor is added or removed from the bus during a command, such as a device search.

FamilyCodeMismatch
CrcMismatch
Timeout

Trait Implementations

impl<E: Clone> Clone for OneWireError<E>[src]

impl<E: Copy> Copy for OneWireError<E>[src]

impl<E: Debug> Debug for OneWireError<E>[src]

Auto Trait Implementations

impl<E> Send for OneWireError<E> where
    E: Send

impl<E> Sync for OneWireError<E> where
    E: Sync

impl<E> Unpin for OneWireError<E> where
    E: 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.