[][src]Struct sync15::Sync15StorageClient

pub struct Sync15StorageClient {
    tsc: TokenProvider,
    pub(crate) backoff: Arc<BackoffState>,
}

Fields

tsc: TokenProviderbackoff: 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]

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]

fn exec_request<T>(
    &self,
    req: Request,
    require_success: bool
) -> Result<Sync15ClientResponse<T>> where
    T: Deserialize<'a>, 
[src]

fn collection_request<T>(
    &self,
    method: Method,
    r: &CollectionRequest
) -> Result<Sync15ClientResponse<T>> where
    T: Deserialize<'a>, 
[src]

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]

fn put<P, B>(
    &self,
    relative_path: P,
    xius: ServerTimestamp,
    body: &B
) -> Result<ServerTimestamp> where
    P: AsRef<str>,
    B: Serialize
[src]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,