1mod descriptor;
8#[cfg(any(target_os = "android", target_os = "linux"))]
9mod device;
10mod error;
11mod types;
12
13pub use self::descriptor::parse_usbfs_descriptors;
14pub use self::descriptor::ConfigDescriptorTree;
15pub use self::descriptor::DeviceDescriptorTree;
16pub use self::descriptor::InterfaceDescriptorTree;
17#[cfg(any(target_os = "android", target_os = "linux"))]
18pub use self::device::Device;
19#[cfg(any(target_os = "android", target_os = "linux"))]
20pub use self::device::DmaBuffer;
21#[cfg(any(target_os = "android", target_os = "linux"))]
22pub use self::device::Transfer;
23#[cfg(any(target_os = "android", target_os = "linux"))]
24pub use self::device::TransferBuffer;
25#[cfg(any(target_os = "android", target_os = "linux"))]
26pub use self::device::TransferHandle;
27#[cfg(any(target_os = "android", target_os = "linux"))]
28pub use self::device::TransferStatus;
29pub use self::error::Error;
30pub use self::error::Result;
31pub use self::types::control_request_type;
32pub use self::types::ConfigDescriptor;
33pub use self::types::ControlRequestDataPhaseTransferDirection;
34pub use self::types::ControlRequestRecipient;
35pub use self::types::ControlRequestType;
36pub use self::types::DescriptorHeader;
37pub use self::types::DescriptorType;
38pub use self::types::DeviceDescriptor;
39pub use self::types::DeviceSpeed;
40pub use self::types::EndpointDescriptor;
41pub use self::types::EndpointDirection;
42pub use self::types::EndpointType;
43pub use self::types::InterfaceDescriptor;
44pub use self::types::StandardControlRequest;
45pub use self::types::UsbRequestSetup;
46pub use self::types::ENDPOINT_DIRECTION_OFFSET;