pub struct UsbReadControl<'a> { /* private fields */ }
Expand description
Usb read request
Implementations§
Source§impl UsbReadControl<'_>
impl UsbReadControl<'_>
Sourcepub async fn execute_async<IO: DfuAsyncIo>(
&mut self,
io: &IO,
) -> Result<IO::Read, IO::Error>
Available on crate feature async
only.
pub async fn execute_async<IO: DfuAsyncIo>( &mut self, io: &IO, ) -> Result<IO::Read, IO::Error>
async
only.Execute usb write using io
Auto Trait Implementations§
impl<'a> Freeze for UsbReadControl<'a>
impl<'a> RefUnwindSafe for UsbReadControl<'a>
impl<'a> Send for UsbReadControl<'a>
impl<'a> Sync for UsbReadControl<'a>
impl<'a> Unpin for UsbReadControl<'a>
impl<'a> !UnwindSafe for UsbReadControl<'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