Expand description
Synchronous reading / writing traits.
Traitsยง
- DirStructure
- The main trait. This is implemented for all directory structures by the derive macro.
- DirStructure
Item - Helper trait, implemented for all types that have a
ReadFromandWriteToimplementation. - From
RefFor Writer - Trait to use when using the
with_newtypeattribute. - Newtype
ToInner - Trait to use when using the
with_newtypeattribute. - Read
From - Trait for types / structures that can be read from disk, either from a file or a directory.
- WriteTo
- Trait for types / structures that can be written to disk. All types in the library that write to files first check that the parent directories exist, so implementations of this that create the whole directory are not necessary (unless used empty children directories, in which case no directories will really be created).