Struct usbapi::os::linux::usbfs::UsbFsUrb[][src]

#[repr(C)]pub struct UsbFsUrb {
    pub status: i32,
    pub buffer: *mut u8,
    pub buffer_length: i32,
    pub actual_length: i32,
    // some fields omitted
}

Fields

status: i32buffer: *mut u8buffer_length: i32actual_length: i32

Implementations

impl UsbFsUrb[src]

pub fn new(typ: u8, ep: u8, ptr: *mut u8, length: usize) -> Self[src]

pub fn control_data_as_ref<'a>(&self) -> &'a [u8][src]

Trait Implementations

impl Debug for UsbFsUrb[src]

impl Display for UsbFsUrb[src]

impl Drop for UsbFsUrb[src]

impl UsbCoreTransfer<UsbFsUrb> for UsbFs[src]

impl UsbTransfer<UsbFsUrb> for UsbFsUrb[src]

Auto Trait Implementations

impl RefUnwindSafe for UsbFsUrb

impl !Send for UsbFsUrb

impl !Sync for UsbFsUrb

impl Unpin for UsbFsUrb

impl UnwindSafe for UsbFsUrb

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> ToString for T where
    T: Display + ?Sized
[src]

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.