[][src]Module libmtp_rs::device::raw

Module to handle raw devices, this will be your entrypoint to manage connected USB devices.

Structs

RawDevice

This struct handles a raw device, which should be opened with open or open_uncached if you want to manage the proper MTP device.

Functions

check_specific_device

Check if a specific device, given its bus and device number, has an MTP type device descriptor.

detect_raw_devices

Detect the raw device descriptors, you will use this function whenever you want to find which devices are connected, then you may open one or all of these devices, to properly manage the device properties, its storage, files, etc.