Struct usb_device::class::ControlOut
source · [−]pub struct ControlOut<'a, 'p, 'r, B: UsbBus> { /* private fields */ }
Expand description
Handle for a control OUT transfer. When implementing a class, use the methods of this object to response to the transfer with an ACT or an error (STALL condition). To ignore the request and pass it on to the next class, simply don’t call any method.
Implementations
Auto Trait Implementations
impl<'a, 'p, 'r, B> RefUnwindSafe for ControlOut<'a, 'p, 'r, B>
impl<'a, 'p, 'r, B> Send for ControlOut<'a, 'p, 'r, B>
impl<'a, 'p, 'r, B> Sync for ControlOut<'a, 'p, 'r, B>
impl<'a, 'p, 'r, B> Unpin for ControlOut<'a, 'p, 'r, B>where
'a: 'p,
impl<'a, 'p, 'r, B> !UnwindSafe for ControlOut<'a, 'p, 'r, B>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more