Crate documents

Source

Modules§

prelude
A convenient way to import all useful structs, traits and functions in this library.

Structs§

Document
A type that represents a file.
DocumentMap
A type that wraps a HashMap between a String and Documents. Access the Documents with any type of index that can be converted to a String.

Enums§

Create
Whether to create a new file to be represented by this Document.
DocumentError
This library’s error types.
Folder
A type that represents well-known folders that are likely to exist on most devices.
Mode
The mode of opening the file. Describes what you are permitted to do with it.

Traits§

FileSystemEntity
Common capabilities supported by Documents, Folders and PathBufs
IntoResult
Maps types implementing this trait to Result<(), Box<dyn Error>>.

Functions§

with
A way to declare all of the Documents in one place then access them in the closure through a DocumentMap by their aliases.