pub struct DirectoryDrive { /* private fields */ }
Expand description

A drive that is backed by an on-disk directory.

Implementations§

Creates a new drive backed by the dir directory.

Trait Implementations§

Deletes the program given by name.
Returns the entries in the store and their metadata.
Loads the contents of the program given by name.
Saves the in-memory program given by content into name.
Gets the system-addressable path of the file _name, if any.
Gets the ACLs of the file _name.
Updates the ACLs of the file _name by extending them with the contents of _add and removing the existing entries listed in _remove.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.