Crate usbip

source · []
Expand description

A library for running a USB/IP server

Modules

Implement CDC(Communications) device

Implement HID device

Structs

Parse the SETUP packet of control transfers

Represent a USB device

Represent a USB endpoint

A handler to pass requests to a USB device of the host

Represent a USB interface

Main struct of a USB/IP server

Enums

A list of defined USB class codes

A list of defined USB descriptor types

USB endpoint direction: IN or OUT Already exists in rusb crate Transfer and endpoint directions.

A list of defined USB endpoint attributes

A list of defined USB standard requests

A list of known USB speeds

Constants

Emulated max packet size of EP0

Traits

A handler of a custom usb interface

Functions

Spawn a USB/IP server at addr using TcpListener

Check validity of a USB descriptor