[−][src]Module libmtp_rs::device
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
BatteryLevel | Information about the battery level gather from a device with
|
StorageSort | Sorting logic to apply after the update of storages. |
UpdateResult | Result given when updating the inner storage list of an MTP device with
|