[][src]Struct usbip::UsbEndpoint

pub struct UsbEndpoint {
    pub address: u8,
    pub attributes: u8,
    pub max_packet_size: u16,
    pub interval: u8,
}

Represent a USB endpoint

Fields

address: u8

bEndpointAddress

attributes: u8

bmAttributes

max_packet_size: u16

wMaxPacketSize

interval: u8

bInterval

Implementations

impl UsbEndpoint[src]

pub fn is_ep0(&self) -> bool[src]

Trait Implementations

impl Clone for UsbEndpoint[src]

impl Copy for UsbEndpoint[src]

impl Debug for UsbEndpoint[src]

impl Default for UsbEndpoint[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.