Crate usbip[−][src]
A library for running a USB/IP server
Modules
cdc | Implement CDC(Communications) device |
hid | Implement HID device |
Structs
SetupPacket | Parse the SETUP packet of control transfers |
UsbDevice | Represent a USB device |
UsbEndpoint | Represent a USB endpoint |
UsbHostHandler | A handler to pass requests to a USB device of the host |
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 |
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 |
verify_descriptor | Check validity of a USB descriptor |