[][src]Struct sync_manager::manager::SyncManager

pub struct SyncManager {
    mem_cached_state: Option<MemoryCachedState>,
    places: Weak<PlacesApi>,
    logins: Weak<Mutex<PasswordEngine>>,
    tabs: Weak<Mutex<TabsEngine>>,
}

Fields

mem_cached_state: Option<MemoryCachedState>places: Weak<PlacesApi>logins: Weak<Mutex<PasswordEngine>>tabs: Weak<Mutex<TabsEngine>>

Implementations

impl SyncManager[src][]

pub fn new() -> Self[src]

pub fn set_places(&mut self, places: Arc<PlacesApi>)[src]

pub fn set_logins(&mut self, logins: Arc<Mutex<PasswordEngine>>)[src]

pub fn set_tabs(&mut self, tabs: Arc<Mutex<TabsEngine>>)[src]

pub fn wipe(&mut self, engine: &str) -> Result<()>[src]

pub fn wipe_all(&mut self) -> Result<()>[src]

pub fn reset(&mut self, engine: &str) -> Result<()>[src]

pub fn reset_all(&mut self) -> Result<()>[src]

pub fn disconnect(&mut self)[src]

pub fn sync(&mut self, params: SyncParams) -> Result<SyncResult>[src]

fn do_sync(&mut self, params: SyncParams) -> Result<SyncResult>[src]

Auto Trait Implementations

impl !RefUnwindSafe for SyncManager

impl Send for SyncManager

impl !Sync for SyncManager

impl Unpin for SyncManager

impl !UnwindSafe for SyncManager

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>, 
[+]