Module ciruela::cluster [] [src]

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

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

UploadErr

Error when uploading image