Struct endbasic_std::storage::InMemoryDrive [−][src]
pub struct InMemoryDrive { /* fields omitted */ }
Expand description
A drive that records all data in memory only.
Trait Implementations
Returns the “default value” for a type. Read more
Deletes the program given by name
.
Returns the entries in the store and their metadata.
Loads the contents of the program given by name
.
Gets the ACLs of the file _name
.
Saves the in-memory program given by content
into name
.
fn update_acls<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
add: &'life2 FileAcls,
remove: &'life3 FileAcls
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn update_acls<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
name: &'life1 str,
add: &'life2 FileAcls,
remove: &'life3 FileAcls
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Updates the ACLs of the file _name
by extending them with the contents of _add
and
removing the existing entries listed in _remove
. Read more
Gets the system-addressable path of the file _name
, if any.
Auto Trait Implementations
impl RefUnwindSafe for InMemoryDrive
impl Send for InMemoryDrive
impl Sync for InMemoryDrive
impl Unpin for InMemoryDrive
impl UnwindSafe for InMemoryDrive