Enum libusb::Recipient [−][src]
pub enum Recipient {
Device,
Interface,
Endpoint,
Other,
}Recipients of control transfers.
Variants
DeviceThe recipient is a device.
InterfaceThe recipient is an interface.
EndpointThe recipient is an endpoint.
OtherOther.
Trait Implementations
impl Debug for Recipient[src]
impl Debug for Recipientfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Recipient[src]
impl PartialEq for Recipientfn eq(&self, other: &Recipient) -> bool[src]
fn eq(&self, other: &Recipient) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Recipient[src]
impl Eq for Recipientimpl Clone for Recipient[src]
impl Clone for Recipientfn clone(&self) -> Recipient[src]
fn clone(&self) -> RecipientReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Recipient[src]
impl Copy for Recipientimpl Hash for Recipient[src]
impl Hash for Recipient