pub struct UsbPcap {Show 15 fields
pub header_length: u16le,
pub irp_id: u64le,
pub status: UsbPcapStatus,
pub function: UsbPcapFunction,
pub reserved_info: u7,
pub pdo_to_fdo: u1,
pub bus: u16le,
pub device: u16le,
pub direction: u1,
pub reserved_endpoint: u3,
pub endpoint: u4,
pub transfer: u8,
pub data_length: u32le,
pub header_payload: Vec<u8>,
pub payload: Vec<u8>,
}
Expand description
Represents a USB PCAP packet (Link Type 249).
Fields§
§header_length: u16le
§irp_id: u64le
§status: UsbPcapStatus
§function: UsbPcapFunction
§reserved_info: u7
§pdo_to_fdo: u1
§bus: u16le
§device: u16le
§direction: u1
§reserved_endpoint: u3
§endpoint: u4
§transfer: u8
§data_length: u32le
§header_payload: Vec<u8>
§payload: Vec<u8>
Auto Trait Implementations§
impl Freeze for UsbPcap
impl RefUnwindSafe for UsbPcap
impl Send for UsbPcap
impl Sync for UsbPcap
impl Unpin for UsbPcap
impl UnwindSafe for UsbPcap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more