Crate documents
Source - prelude
- A convenient way to import all useful structs, traits and functions in this library.
- 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.
- 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.
- FileSystemEntity
- Common capabilities supported by
Documents, Folders and PathBufs - IntoResult
- Maps types implementing this trait to
Result<(), Box<dyn Error>>.
- with
- A way to declare all of the
Documents in one place then access them in the closure through a DocumentMap by their aliases.