pub struct MemoryResourceStorage { /* fields omitted */ }
Resource storage in memory.
Create an empty memory resource storage at a given virtual path.
Resources will be placed in ephemeral memory with prefix path
. A path
has to be provided to unify the interface with FileResourceStorage
.
Creates a resource storage at a given subdirectory.
Returns true
if resource exists in the storage.
Reads a resource in storage and returns a pointer to its raw data. Read more
Creates a resource with given name and returns an output stream for writing to it. Read more
Open a flatdata resource with given name and schema for reading. Read more
Writes data of a flatdata resource with given name and schema to storage. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static