[][src]Enum embedded_hal_spy::DataWord

pub enum DataWord {
    None,
    Byte(u8),
    First,
    Last,
    Response,
    Failed,
    Toggle,
}

Call back data is encapulated in enum DataWord First and Last are provided from some transation oriented traits to indicate first and last

Variants

NoneByte(u8)

Encapsulate data

First

indicates first byte in transaction when used it will be followd by last after the last byte

Last

When used it is sent after last byte in transaction

Response

Indicate beggining of response from a tranasction based class

Failed

embedded_hal call have failed and will report error

Toggle

hal::digital::ToggleableOutput return value

Auto Trait Implementations

impl Unpin for DataWord

impl Send for DataWord

impl Sync for DataWord

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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