Trait taskchampion::Server[][src]

pub trait Server {
    fn add_version(
        &mut self,
        parent_version_id: VersionId,
        history_segment: HistorySegment
    ) -> Result<AddVersionResult>;
fn get_child_version(
        &mut self,
        parent_version_id: VersionId
    ) -> Result<GetVersionResult>; }
Expand description

A value implementing this trait can act as a server against which a replica can sync.

Required methods

Add a new version.

Get the version with the given parent VersionId

Implementors