Struct endbasic_std::storage::Storage [−][src]
pub struct Storage { /* fields omitted */ }Expand description
Storage subsystem representation.
At the moment, the storage subsystem is backed by a single drive, so this type is a wrapper
for the Drive type.
Implementations
Registers a new drive factory to handle the scheme. Must not have previously been
registered and the scheme must be in lowercase.
Converts a location, which needn’t exist, to its canonical form.
Instantiates and attaches a new drive with name that points to uri.
The name must be valid and must not yet have been registered.
Detaches an existing drive named name.
The drive name must exist, cannot be the current drive, and cannot be the last mounted
drive.
Returns information about the mounted drives as a mapping of drive names to the URIs that were used to mount them.
Changes the current location.
Given that we currently do not support directories, the location can only be of the forms
DRIVE: or DRIVE:/.
Deletes the program given by raw_location.
Returns a sorted list of the entries in raw_location and their metadata.
Loads the contents of the program given by raw_location.
Gets the ACLs of the file raw_location.
Saves the in-memory program given by content into raw_location.
Updates the ACLs of the file raw_location by extending them with the contents of add and
removing the existing entries listed in remove.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Storage
impl !UnwindSafe for Storage
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more