Function diff

Source
pub async fn diff<S, E>(
    storage: &S,
    remote_status: SyncStatus,
) -> Result<(bool, SyncStatus, SyncDiff), E>
where S: SyncStorage, E: Error + Debug + From<<S as StorageEventLogs>::Error> + From<Error> + From<Error> + From<StorageError> + Send + Sync + 'static,
Expand description

Difference between a local sync status and a remote sync status.