pub enum Recipient {
Device = 0,
Interface = 1,
Endpoint = 2,
Other = 3,
Reserved = 4,
}Expand description
bmRequestType bits 4:0 — who the request is addressed to.
Variants§
Device = 0
The device as a whole.
Interface = 1
A specific interface.
Endpoint = 2
A specific endpoint.
Other = 3
Another device on the bus (hub class).
Reserved = 4
Reserved encoding.
Trait Implementations§
impl Copy for Recipient
impl Eq for Recipient
impl StructuralPartialEq for Recipient
Auto Trait Implementations§
impl Forget for Recipient
impl Freeze for Recipient
impl Move for Recipient
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnsafeUnpin 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