Struct perlin::storage::FsStorage [] [src]

pub struct FsStorage<TItem> { /* fields omitted */ }

Writes datastructures to a filesystem. Compressed and retrievable.

Trait Implementations

impl<TItem: ByteDecodable + ByteEncodable + Sync + Send> Storage<TItem> for FsStorage<TItem>

Returns the number of stored elements

Tries to get a value for a given Id. Returns an Error if read fails or if id is unknown. Read more

Tries to store a value with a given Id. Returns an Error if Write fails or if there is no more space. Read more

Returns true if storage is empty