Struct ciruela::index::InMemoryIndexes [] [src]

pub struct InMemoryIndexes { /* fields omitted */ }

A GetIndex implementation that serves indexes from memory

Usually this is what you want because index is small enough, and client finishes work as quick as image is served

Methods

impl InMemoryIndexes
[src]

[src]

New in-memory index collection

[src]

Register index and return image id

ImageId returned here for convenience and a bit microoptimization. You can get it from the image data on your own.

Trait Implementations

impl Debug for InMemoryIndexes
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for InMemoryIndexes
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl GetIndex for InMemoryIndexes
[src]

An index data returned Read more

Error returned by future Read more

Future returned by read_block

[src]

Read block by hash

Auto Trait Implementations