[][src]Module libmtp_rs::storage

Module with Storage and StoragePool that are able to manage the storage of an specific device, and perform certain operations like sending and getting files, tracks, etc.

Modules

files

Contains relevant items to handle file objects in the device.

folders

Contains relevant items to handle folder objects in the device.

Structs

Storage

Storage descriptor of some MTP device, note that updating the storage and keeping a old copy of this struct is impossible.

StoragePool

Represents all the storage "pool" of one MTP device, contain all the storage entries of one MTP device, and contains some methods to send or get files from the primary storage.

StoragePoolIter

Iterator that allows us to get each Storage with its id.

Enums

AccessCapability
FilesystemType
Parent

Represents the parent folder of an object, the top-most parent is called the "root" as in *nix like systems.

StorageType