[−][src]Trait sync15::client::SetupStorageClient
A trait containing the methods required to run through the setup state machine. This is factored out into a separate trait to make mocking easier.
Required methods
fn fetch_info_configuration(
&self
) -> Result<Sync15ClientResponse<InfoConfiguration>>
&self
) -> Result<Sync15ClientResponse<InfoConfiguration>>
fn fetch_info_collections(
&self
) -> Result<Sync15ClientResponse<InfoCollections>>
&self
) -> Result<Sync15ClientResponse<InfoCollections>>
fn fetch_meta_global(&self) -> Result<Sync15ClientResponse<MetaGlobalRecord>>
fn fetch_crypto_keys(&self) -> Result<Sync15ClientResponse<EncryptedBso>>
fn put_meta_global(
&self,
xius: ServerTimestamp,
global: &MetaGlobalRecord
) -> Result<ServerTimestamp>
&self,
xius: ServerTimestamp,
global: &MetaGlobalRecord
) -> Result<ServerTimestamp>
fn put_crypto_keys(
&self,
xius: ServerTimestamp,
keys: &EncryptedBso
) -> Result<()>
&self,
xius: ServerTimestamp,
keys: &EncryptedBso
) -> Result<()>
fn wipe_all_remote(&self) -> Result<()>
Implementors
impl SetupStorageClient for Sync15StorageClient
[src]
fn fetch_info_configuration(
&self
) -> Result<Sync15ClientResponse<InfoConfiguration>>
[src]
&self
) -> Result<Sync15ClientResponse<InfoConfiguration>>
fn fetch_info_collections(
&self
) -> Result<Sync15ClientResponse<InfoCollections>>
[src]
&self
) -> Result<Sync15ClientResponse<InfoCollections>>
fn fetch_meta_global(&self) -> Result<Sync15ClientResponse<MetaGlobalRecord>>
[src]
fn fetch_crypto_keys(&self) -> Result<Sync15ClientResponse<EncryptedBso>>
[src]
fn put_meta_global(
&self,
xius: ServerTimestamp,
global: &MetaGlobalRecord
) -> Result<ServerTimestamp>
[src]
&self,
xius: ServerTimestamp,
global: &MetaGlobalRecord
) -> Result<ServerTimestamp>
fn put_crypto_keys(
&self,
xius: ServerTimestamp,
keys: &EncryptedBso
) -> Result<()>
[src]
&self,
xius: ServerTimestamp,
keys: &EncryptedBso
) -> Result<()>