[][src]Enum dogear::Problem

pub enum Problem {
    Orphan,
    MisparentedRoot(Vec<DivergedParent>),
    DivergedParents(Vec<DivergedParent>),
    MissingChild {
        child_guid: Guid,
    },
    DeletedChild {
        child_guid: Guid,
    },
}

Describes a structure divergence for an item in a bookmark tree. These are used for logging and validation telemetry.

Variants

Orphan

The item doesn't have a parentid, and isn't mentioned in any folders.

MisparentedRoot(Vec<DivergedParent>)

The item is a user content root (menu, mobile, toolbar, or unfiled), but parent_guid isn't the Places root.

DivergedParents(Vec<DivergedParent>)

The item has diverging parents. If the vector contains more than one DivergedParent::ByChildren, the item has multiple parents. If the vector contains a DivergedParent::ByParentGuid, with or without a DivergedParent::ByChildren, the item has a parent-child disagreement.

MissingChild

The item is mentioned in a folder's children, but doesn't exist.

Fields of MissingChild

child_guid: Guid
DeletedChild

The item is mentioned in a folder's children, but is deleted.

Fields of DeletedChild

child_guid: Guid

Trait Implementations

impl Clone for Problem[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Problem> for Problem[src]

impl Eq for Problem[src]

impl Debug for Problem[src]

impl Hash for Problem[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Sync for Problem

impl Unpin for Problem

impl Send for Problem

impl UnwindSafe for Problem

impl RefUnwindSafe for Problem

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]