Struct pnet_packet::usbpcap::UsbPcap[][src]

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: u16leirp_id: u64lestatus: UsbPcapStatusfunction: UsbPcapFunctionreserved_info: u7pdo_to_fdo: u1bus: u16ledevice: u16ledirection: u1reserved_endpoint: u3endpoint: u4transfer: u8data_length: u32leheader_payload: Vec<u8>payload: Vec<u8>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.