pub enum DataWord {
None,
Byte(u8),
First,
Last,
Response,
Failed,
Toggle,
}
Expand description
Call back data is encapulated in enum DataWord First and Last are provided from some transation oriented traits to indicate first and last
Variants§
None
Byte(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 Freeze for DataWord
impl RefUnwindSafe for DataWord
impl Send for DataWord
impl Sync for DataWord
impl Unpin for DataWord
impl UnwindSafe for DataWord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more