[][src]Enum sync15::ServiceStatus

pub enum ServiceStatus {
    Ok,
    NetworkError,
    ServiceError,
    AuthenticationError,
    BackedOff,
    Interrupted,
    OtherError,
}

The general status of sync - should probably be moved to the "sync manager" once we have one!

Variants

Ok

Everything is fine.

NetworkError

Some general network issue.

ServiceError

Some apparent issue with the servers.

AuthenticationError

Some external FxA action needs to be taken.

BackedOff

We declined to do anything for backoff or rate-limiting reasons.

Interrupted

We were interrupted.

OtherError

Something else - you need to check the logs for more details. May or may not be transient, we really don't know.

Implementations

impl ServiceStatus[src]

pub fn from_err(err: &Error) -> ServiceStatus[src]

Trait Implementations

impl Clone for ServiceStatus[src]

impl Debug for ServiceStatus[src]

impl PartialEq<ServiceStatus> for ServiceStatus[src]

impl StructuralPartialEq for ServiceStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceStatus

impl Send for ServiceStatus

impl Sync for ServiceStatus

impl Unpin for ServiceStatus

impl UnwindSafe for ServiceStatus

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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