[−][src]Struct sync15::sync_multiple::SyncMultipleDriver
Fields
command_processor: Option<&'info dyn CommandProcessor>
stores: &'info [&'info dyn Store]
storage_init: &'info Sync15StorageClientInit
root_sync_key: &'info KeyBundle
interruptee: &'info dyn Interruptee
backoff: Arc<BackoffState>
engines_to_state_change: Option<&'info HashMap<String, bool>>
result: &'res mut SyncResult
persisted_global_state: &'pgs mut Option<String>
mem_cached_state: &'mcs mut MemoryCachedState
ignore_soft_backoff: bool
saw_auth_error: bool
Implementations
impl<'info, 'res, 'pgs, 'mcs> SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
[src]
fn sync(self) -> Result<(), Error>
[src]
The actual worker for sync_multiple.
fn was_interrupted(&mut self) -> bool
[src]
fn sync_stores(
&mut self,
client_info: &ClientInfo,
global_state: &mut GlobalState,
clients: Option<&Engine<'_>>
) -> SyncTelemetry
[src]
&mut self,
client_info: &ClientInfo,
global_state: &mut GlobalState,
clients: Option<&Engine<'_>>
) -> SyncTelemetry
fn run_state_machine(
&mut self,
client_info: &ClientInfo,
pgs: &mut PersistedGlobalState
) -> Result<GlobalState, Error>
[src]
&mut self,
client_info: &ClientInfo,
pgs: &mut PersistedGlobalState
) -> Result<GlobalState, Error>
fn wipe_or_reset_engines(
&mut self,
changes: EngineChangesNeeded,
client: &Sync15StorageClient
) -> Result<(), Error>
[src]
&mut self,
changes: EngineChangesNeeded,
client: &Sync15StorageClient
) -> Result<(), Error>
fn prepare_client_info(&mut self) -> Result<ClientInfo, Error>
[src]
fn prepare_persisted_state(&mut self) -> PersistedGlobalState
[src]
Auto Trait Implementations
impl<'info, 'res, 'pgs, 'mcs> !RefUnwindSafe for SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
impl<'info, 'res, 'pgs, 'mcs> !Send for SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
impl<'info, 'res, 'pgs, 'mcs> !Sync for SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
impl<'info, 'res, 'pgs, 'mcs> Unpin for SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
impl<'info, 'res, 'pgs, 'mcs> !UnwindSafe for SyncMultipleDriver<'info, 'res, 'pgs, 'mcs>
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>,