[][src]Struct places::bookmark_sync::incoming::IncomingApplicator

pub struct IncomingApplicator<'a> {
    db: &'a Connection,
}

Manages the application of incoming records into the moz_bookmarks_synced and related tables.

Fields

db: &'a Connection

Implementations

impl<'a> IncomingApplicator<'a>[src]

pub fn new(db: &'a Connection) -> Self[src]

pub fn apply_payload(
    &self,
    payload: Payload,
    timestamp: ServerTimestamp
) -> Result<()>
[src]

fn store_incoming_bookmark(
    &self,
    modified: ServerTimestamp,
    b: &JsonValue
) -> Result<()>
[src]

fn store_incoming_folder(
    &self,
    modified: ServerTimestamp,
    f: &JsonValue
) -> Result<()>
[src]

fn store_incoming_tombstone(
    &self,
    modified: ServerTimestamp,
    guid: &SyncGuid
) -> Result<()>
[src]

fn maybe_rewrite_and_store_query_url(
    &self,
    tag_folder_name: Option<&str>,
    record_id: &BookmarkRecordId,
    url: Url,
    validity: &mut SyncedBookmarkValidity
) -> Result<Option<Url>>
[src]

fn store_incoming_query(
    &self,
    modified: ServerTimestamp,
    q: &JsonValue
) -> Result<()>
[src]

fn store_incoming_livemark(
    &self,
    modified: ServerTimestamp,
    l: &JsonValue
) -> Result<()>
[src]

fn store_incoming_sep(
    &self,
    modified: ServerTimestamp,
    s: &JsonValue
) -> Result<()>
[src]

fn maybe_store_href(&self, href: Option<&str>) -> Result<Url>[src]

fn maybe_store_url(&self, url: Option<Url>) -> Result<Url>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for IncomingApplicator<'a>

impl<'a> !Send for IncomingApplicator<'a>

impl<'a> !Sync for IncomingApplicator<'a>

impl<'a> Unpin for IncomingApplicator<'a>

impl<'a> !UnwindSafe for IncomingApplicator<'a>

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>,