[][src]Module ciruela::cluster

Client connection manager

By cluster we mean just one or more ciruela servers which see each other and have same directory namespace (no specific software known as ciruela-cluster exists).

We might expose individual server connections later, but now we only have higher level API.

Structs

Config

Configuration for clustered connection

Connection

Connection to a server or cluster of servers

FileFuture

Future returned from Connection::fetch_file

IndexFuture

Future returned from Connection::fetch_index

IndexParseError

Error parsing raw index into a materialized one

MutableIndex

Structure allows to lookup index easily and modify it

ProgressOneLiner

Displays some short progress of the upload

RawIndex

Raw index returned by cluster protocol

Stats

Current upload statistics

Upload

This structure represents upload

UploadFail

Error uploading image

UploadFuture

Future returned from Upload::future

UploadOk

Result of the upload

Enums

ErrorKind

Network error happened

IndexUpdateError

Error when trying to modify index

UploadErr

Error when uploading image

Traits

MaterializedIndex

This is an index that can be queried by path