Enum usb_util::types::ControlRequestRecipient
source · pub enum ControlRequestRecipient {
Device = 0,
Interface = 1,
Endpoint = 2,
Other = 3,
Reserved = 4,
}
Expand description
Recipient type of control request.
Variants§
Trait Implementations§
source§impl PartialEq for ControlRequestRecipient
impl PartialEq for ControlRequestRecipient
source§fn eq(&self, other: &ControlRequestRecipient) -> bool
fn eq(&self, other: &ControlRequestRecipient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ControlRequestRecipient
impl StructuralPartialEq for ControlRequestRecipient
Auto Trait Implementations§
impl RefUnwindSafe for ControlRequestRecipient
impl Send for ControlRequestRecipient
impl Sync for ControlRequestRecipient
impl Unpin for ControlRequestRecipient
impl UnwindSafe for ControlRequestRecipient
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