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>,
}
Expand description
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: SyncTelemetryPing
§next_sync_after: Option<SystemTime>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncResult
impl !RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl !UnwindSafe for SyncResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more