[−][src]Enum places::types::SyncStatus
Re SyncStatus - note that:
- logins has synced=0, changed=1, new=2
- desktop bookmarks has unknown=0, new=1, normal=2 This is "places", so eventually bookmarks will have a status - should history and bookmarks share this enum? Note that history specifically needs neither (a) login's "changed" (the changeCounter works there), nor (b) bookmark's "unknown" (as that's only used after a restore). History only needs a distinction between "synced" and "new" so it doesn't accumulate never-to-be-synced tombstones - so we basically copy bookmarks and treat unknown as new. Which means we get the "bonus side-effect" ;) of ::Unknown replacing Option<>!
Note that some of these values are in schema.rs
Variants
Implementations
impl SyncStatus
[src]
Trait Implementations
impl Clone for SyncStatus
[src]
fn clone(&self) -> SyncStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SyncStatus
[src]
impl Debug for SyncStatus
[src]
impl Eq for SyncStatus
[src]
impl FromSql for SyncStatus
[src]
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
[src]
impl Hash for SyncStatus
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SyncStatus
[src]
fn cmp(&self, other: &SyncStatus) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SyncStatus> for SyncStatus
[src]
impl PartialOrd<SyncStatus> for SyncStatus
[src]
fn partial_cmp(&self, other: &SyncStatus) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SyncStatus
[src]
impl StructuralPartialEq for SyncStatus
[src]
impl ToSql for SyncStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnwindSafe for SyncStatus
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> CallHasher for T where
T: Hash,
T: Hash,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,