pub struct Reply<'a> {
pub id: u8,
pub kind: u8,
pub frame: &'a [u8],
}Expand description
One entry of a bulk answer.
Fields§
§id: u8Which entry, matching what Bulk::transfer or Bulk::modify returned.
kind: u8§frame: &'a [u8]The bytes the chip clocked back, in place of the frame that went out. Empty for a modify, which answers with nothing.
Trait Implementations§
impl<'a> Copy for Reply<'a>
impl<'a> Eq for Reply<'a>
impl<'a> StructuralPartialEq for Reply<'a>
Auto Trait Implementations§
impl<'a> Freeze for Reply<'a>
impl<'a> RefUnwindSafe for Reply<'a>
impl<'a> Send for Reply<'a>
impl<'a> Sync for Reply<'a>
impl<'a> Unpin for Reply<'a>
impl<'a> UnsafeUnpin for Reply<'a>
impl<'a> UnwindSafe for Reply<'a>
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