Expand description
This module groups all the operations you can do on an MTP device, like gathering information, properties, support for filetypes, and update/gather storage in order to be able to send or get files, folders, tracks, etc.
Modules§
- capabilities
- Describes the device capabilities, some devices may not necessarily implement or support certain capabilities, like copying or moving objects.
- raw
- Module to handle raw devices, this will be your entrypoint to manage connected USB devices.
Structs§
- MtpDevice
- Result from opening a raw device descriptor, holds information about the device like default folders, battery level, manufacturer, model, storage, etc.
Enums§
- Battery
Level - Information about the battery level gather from a device with
MtpDevice::battery_level. - Storage
Sort - Sorting logic to apply after the update of storages.
- Update
Result - Result given when updating the inner storage list of an MTP device with
MtpDevice::update_storage.