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