Struct taskchampion::server::RemoteServer[][src]

pub struct RemoteServer { /* fields omitted */ }

Implementations

A RemoeServer communicates with a remote server over HTTP (such as with taskchampion-sync-server).

Construct a new RemoteServer. The origin is the sync server’s protocol and hostname without a trailing slash, such as https://tcsync.example.com. Pass a client_key to identify this client to the server. Multiple replicas synchronizing the same task history should use the same client_key.

Trait Implementations

Add a new version.

Get the version with the given parent VersionId

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.