pub enum Transfer<'b> {
Start,
Stop,
Addr {
addr: u8,
read: bool,
nack: bool,
},
Bytes {
data: &'b [u8],
nack: bool,
},
Broken(ArrayVec<Bit, 8>),
}
Variants§
Trait Implementations§
impl<'b> StructuralPartialEq for Transfer<'b>
Auto Trait Implementations§
impl<'b> Freeze for Transfer<'b>
impl<'b> RefUnwindSafe for Transfer<'b>
impl<'b> Send for Transfer<'b>
impl<'b> Sync for Transfer<'b>
impl<'b> Unpin for Transfer<'b>
impl<'b> UnwindSafe for Transfer<'b>
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