pub struct WebExtStorageBridgedEngine { /* private fields */ }
Implementations§
source§impl WebExtStorageBridgedEngine
impl WebExtStorageBridgedEngine
pub fn new(bridge_impl: Box<dyn Sync15BridgedEngine>) -> Self
pub fn last_sync(&self) -> Result<i64>
pub fn set_last_sync(&self, last_sync: i64) -> Result<()>
pub fn sync_id(&self) -> Result<Option<String>>
pub fn reset_sync_id(&self) -> Result<String>
pub fn ensure_current_sync_id(&self, sync_id: &str) -> Result<String>
pub fn prepare_for_sync(&self, client_data: &str) -> Result<()>
pub fn store_incoming(&self, incoming: Vec<String>) -> Result<()>
pub fn apply(&self) -> Result<Vec<String>>
pub fn set_uploaded( &self, server_modified_millis: i64, guids: Vec<SyncGuid>, ) -> Result<()>
pub fn sync_started(&self) -> Result<()>
pub fn sync_finished(&self) -> Result<()>
pub fn reset(&self) -> Result<()>
pub fn wipe(&self) -> Result<()>
Auto Trait Implementations§
impl Freeze for WebExtStorageBridgedEngine
impl !RefUnwindSafe for WebExtStorageBridgedEngine
impl Send for WebExtStorageBridgedEngine
impl Sync for WebExtStorageBridgedEngine
impl Unpin for WebExtStorageBridgedEngine
impl !UnwindSafe for WebExtStorageBridgedEngine
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more