[][src]Struct sync15::SyncResult

pub struct SyncResult {
    pub service_status: ServiceStatus,
    pub declined: Option<Vec<String>>,
    pub result: Result<(), Error>,
    pub engine_results: HashMap<String, Result<(), Error>>,
    pub telemetry: SyncTelemetryPing,
    pub next_sync_after: Option<SystemTime>,
}

The result of a sync request. This too is from the "sync manager", but only has a fraction of the things it will have when we actually build that.

Fields

service_status: ServiceStatus

The general health.

declined: Option<Vec<String>>

The set of declined engines, if we know them.

result: Result<(), Error>

The result of the sync.

engine_results: HashMap<String, Result<(), Error>>

The result for each engine. Note that we expect the String to be replaced with an enum later.

telemetry: SyncTelemetryPingnext_sync_after: Option<SystemTime>

Implementations

impl SyncResult[src]

pub(crate) fn set_sync_after(&mut self, backoff_duration: Duration)[src]

Trait Implementations

impl Debug for SyncResult[src]

Auto Trait Implementations

impl !RefUnwindSafe for SyncResult

impl Send for SyncResult

impl Sync for SyncResult

impl Unpin for SyncResult

impl !UnwindSafe for SyncResult

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