[][src]Struct libusb::EndpointDescriptor

pub struct EndpointDescriptor<'a> { /* fields omitted */ }

Describes an endpoint.

Methods

impl<'a> EndpointDescriptor<'a>
[src]

Returns the endpoint's address.

Returns the endpoint number.

Returns the endpoint's direction.

Returns the endpoint's transfer type.

Returns the endpoint's synchronisation mode.

The return value of this method is only valid for isochronous endpoints.

Returns the endpoint's usage type.

The return value of this method is only valid for isochronous endpoints.

Returns the endpoint's maximum packet size.

Returns the endpoint's polling interval.

Trait Implementations

impl<'a> Debug for EndpointDescriptor<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for EndpointDescriptor<'a>

impl<'a> !Sync for EndpointDescriptor<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more