[−][src]Struct sync15::client::Sync15StorageClient
Fields
tsc: TokenProvider
backoff: Arc<BackoffState>
Implementations
impl Sync15StorageClient
[src]
pub fn new(init_params: Sync15StorageClientInit) -> Result<Sync15StorageClient>
[src]
pub fn get_encrypted_records(
&self,
collection_request: &CollectionRequest
) -> Result<Sync15ClientResponse<Vec<EncryptedBso>>>
[src]
&self,
collection_request: &CollectionRequest
) -> Result<Sync15ClientResponse<Vec<EncryptedBso>>>
fn authorized(&self, req: Request) -> Result<Request>
[src]
fn build_request(&self, method: Method, url: Url) -> Result<Request>
[src]
fn relative_storage_request<P, T>(
&self,
method: Method,
relative_path: P
) -> Result<Sync15ClientResponse<T>> where
P: AsRef<str>,
T: Deserialize<'a>,
[src]
&self,
method: Method,
relative_path: P
) -> Result<Sync15ClientResponse<T>> where
P: AsRef<str>,
T: Deserialize<'a>,
fn exec_request<T>(
&self,
req: Request,
require_success: bool
) -> Result<Sync15ClientResponse<T>> where
T: Deserialize<'a>,
[src]
&self,
req: Request,
require_success: bool
) -> Result<Sync15ClientResponse<T>> where
T: Deserialize<'a>,
fn collection_request<T>(
&self,
method: Method,
r: &CollectionRequest
) -> Result<Sync15ClientResponse<T>> where
T: Deserialize<'a>,
[src]
&self,
method: Method,
r: &CollectionRequest
) -> Result<Sync15ClientResponse<T>> where
T: Deserialize<'a>,
pub fn new_post_queue<'a, F: PostResponseHandler>(
&'a self,
coll: &str,
config: &InfoConfiguration,
ts: ServerTimestamp,
on_response: F
) -> Result<PostQueue<PostWrapper<'a>, F>>
[src]
&'a self,
coll: &str,
config: &InfoConfiguration,
ts: ServerTimestamp,
on_response: F
) -> Result<PostQueue<PostWrapper<'a>, F>>
fn put<P, B>(
&self,
relative_path: P,
xius: ServerTimestamp,
body: &B
) -> Result<ServerTimestamp> where
P: AsRef<str>,
B: Serialize,
[src]
&self,
relative_path: P,
xius: ServerTimestamp,
body: &B
) -> Result<ServerTimestamp> where
P: AsRef<str>,
B: Serialize,
pub fn hashed_uid(&self) -> Result<String>
[src]
pub(crate) fn wipe_remote_engine(&self, engine: &str) -> Result<()>
[src]
Trait Implementations
impl Debug for Sync15StorageClient
[src]
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<()>
fn wipe_all_remote(&self) -> Result<()>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Sync15StorageClient
impl Send for Sync15StorageClient
impl !Sync for Sync15StorageClient
impl Unpin for Sync15StorageClient
impl !UnwindSafe for Sync15StorageClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,