[][src]Crate usbip

A library for running a USB/IP server

Modules

cdc

CDC

hid

Implement HID device

Structs

SetupPacket

Parse the SETUP packet of control transfers

UsbDevice

Represent a USB device

UsbEndpoint

Represent a USB endpoint

UsbInterface

Represent a USB interface

UsbIpServer

Main struct of a USB/IP server

Enums

ClassCode

A list of defined USB class codes

DescriptorType

A list of defined USB descriptor types

Direction

USB endpoint direction: IN or OUT

EndpointAttributes

A list of defined USB endpoint attributes

StandardRequest

A list of defined USB standard requests

UsbSpeed

A list of known USB speeds

Constants

EP0_MAX_PACKET_SIZE

Emulated max packet size of EP0

Traits

UsbInterfaceHandler

A handler of a custom usb interface

Functions

server

Spawn a USB/IP server at addr using tokio