pub enum Recipient {
Device = 0,
Interface = 1,
Endpoint = 2,
Other = 3,
Reserved = 4,
}
Expand description
Control request recipient.
Variants§
Device = 0
Request is intended for the entire device.
Interface = 1
Request is intended for an interface. Generally, the index
field of the request specifies
the interface number.
Endpoint = 2
Request is intended for an endpoint. Generally, the index
field of the request specifies
the endpoint address.
Other = 3
None of the above.
Reserved = 4
Reserved.
Trait Implementations§
impl Copy for Recipient
impl Eq for Recipient
impl StructuralPartialEq for Recipient
Auto Trait Implementations§
impl Freeze for Recipient
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnwindSafe for Recipient
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