Struct flatdata::FileResourceStorage[][src]

pub struct FileResourceStorage { /* fields omitted */ }

Resource storage on disk using memory mapped files.

Methods

impl FileResourceStorage
[src]

Create an empty memory mapped file storage.

Trait Implementations

impl Debug for FileResourceStorage
[src]

Formats the value using the given formatter. Read more

impl ResourceStorage for FileResourceStorage
[src]

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

Implementation helper for [read]. Read more

Auto Trait Implementations