Crate brume_daemon_proto

Source
Expand description

Definition of the protocol needed to communicate with the daemon

Structs§

AnyFsRef
A reference to a filesystem in the SynchroList handled by the brume daemon.
AnySynchroCreationInfo
The information needed to create a new synchro between filesystems
AnySynchroRef
A Synchro where the Backend filesystems are only known at runtime.
BrumeServiceClient
The client stub that makes RPC calls to the server. All request methods return Futures.
LocalDirCreationInfo
NextcloudFsCreationInfo
Info needed to create a new connection to a nextcloud server
ServeBrumeService
A serving function to use with ::tarpc::server::InFlightRequest::execute.
SynchroId
An id that uniquely identify a pair of synchronized FS
VirtualPath
A wrapper type that allows doing path operations on strings, without considerations for any concrete file system. These paths are supposed to be absolute and should start with a ‘/’.
VirtualPathBuf
Similar to the distinction with Path and PathBuf, this is a VirtualPath that owns the underlying data.

Enums§

AnyFsCreationInfo
The information needed to create a FS that can be synchronized.
AnyFsDescription
The information needed to describe a FS that can be synchronized.
BrumeServiceRequest
The request sent over the wire from the client to the server.
BrumeServiceResponse
The response sent over the wire from the server to the client.
SynchroSide
SynchroState
User controlled state of the synchro
SynchroStatus
Computed status of the synchro, based on synchronization events

Constants§

BRUME_SOCK_NAME
Name of the socket where the clients should connect

Traits§

BrumeService
BrumeServiceStub
The stub trait for service BrumeService.