Enum usb_device::control::Recipient
source · [−]pub enum Recipient {
Device,
Interface,
Endpoint,
Other,
Reserved,
}
Expand description
Control request recipient.
Variants
Device
Request is intended for the entire device.
Interface
Request is intended for an interface. Generally, the index
field of the request specifies
the interface number.
Endpoint
Request is intended for an endpoint. Generally, the index
field of the request specifies
the endpoint address.
Other
None of the above.
Reserved
Reserved.
Trait Implementations
impl Copy for Recipient
impl Eq for Recipient
impl StructuralEq for Recipient
impl StructuralPartialEq for Recipient
Auto Trait Implementations
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnwindSafe for Recipient
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