Enum libusb::Recipient [] [src]

pub enum Recipient {
    Device,
    Interface,
    Endpoint,
    Other,
}

Recipients of control transfers.

Variants

Device

The recipient is a device.

Interface

The recipient is an interface.

Endpoint

The recipient is an endpoint.

Other

Other.

Trait Implementations

impl Hash for Recipient
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Copy for Recipient
[src]

impl Clone for Recipient
[src]

fn clone(&self) -> Recipient

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for Recipient
[src]

impl PartialEq for Recipient
[src]

fn eq(&self, __arg_0: &Recipient) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Recipient
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.