[−][src]Struct places::bookmark_sync::incoming::IncomingApplicator
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]
&self,
payload: Payload,
timestamp: ServerTimestamp
) -> Result<()>
fn store_incoming_bookmark(
&self,
modified: ServerTimestamp,
b: &JsonValue
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
b: &JsonValue
) -> Result<()>
fn store_incoming_folder(
&self,
modified: ServerTimestamp,
f: &JsonValue
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
f: &JsonValue
) -> Result<()>
fn store_incoming_tombstone(
&self,
modified: ServerTimestamp,
guid: &SyncGuid
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
guid: &SyncGuid
) -> Result<()>
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]
&self,
tag_folder_name: Option<&str>,
record_id: &BookmarkRecordId,
url: Url,
validity: &mut SyncedBookmarkValidity
) -> Result<Option<Url>>
fn store_incoming_query(
&self,
modified: ServerTimestamp,
q: &JsonValue
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
q: &JsonValue
) -> Result<()>
fn store_incoming_livemark(
&self,
modified: ServerTimestamp,
l: &JsonValue
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
l: &JsonValue
) -> Result<()>
fn store_incoming_sep(
&self,
modified: ServerTimestamp,
s: &JsonValue
) -> Result<()>
[src]
&self,
modified: ServerTimestamp,
s: &JsonValue
) -> Result<()>
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]
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>,