Add RemoteServer to the taskchampion crate

This commit is contained in:
Dustin J. Mitchell
2020-11-27 19:47:50 -05:00
parent d46f20e75a
commit 2a37f090a5
10 changed files with 322 additions and 29 deletions

View File

@@ -20,7 +20,10 @@ pub(crate) trait StorageTxn {
/// Get information about the given client
fn get_client(&mut self, client_id: Uuid) -> Fallible<Option<Client>>;
/// Set the client's latest_version_id (creating the client if necessary)
/// Create a new client with the given latest_version_id
fn new_client(&mut self, client_id: Uuid, latest_version_id: Uuid) -> Fallible<()>;
/// Set the client's latest_version_id
fn set_client_latest_version_id(
&mut self,
client_id: Uuid,